DekGenius.com
[ Team LiB ] Previous Section Next Section

SchemaType serializable

System.Data (system.data.dll) enum

This enumeration is used with the IDataAdapter.FillSchema( ) method. It specifies whether schema information should use table and column mappings applied to the data adapter. If you specify Source , mappings are ignored. If you specify Mapped , the schema is retrieved using mappings, if they exist. For example, if the Customers data source table is mapped to the CustomerTable DataSet table, the schema is applied to CustomerTable . If the table doesn't exist, it's created. Note that if you aren't using table mappings, both options are equivalent.

public enum SchemaType {
   Source = 1,
   Mapped = 2
}

Hierarchy

System.Object figs/U2192.gif System.ValueType figs/U2192.gif System.Enum(System.IComparable, System.IFormattable , System.IConvertible) figs/U2192.gif SchemaType

Passed To

System.Data.Common.DataAdapter.FillSchema( ) , System.Data.Common.DbDataAdapter.FillSchema( ) , IDataAdapter.FillSchema( )

    [ Team LiB ] Previous Section Next Section