Name
SchemaType
Synopsis
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
→
System.ValueType
→
System.Enum(System.IComparable, System.IFormattable, System.IConvertible)
→ SchemaType
Passed To
System.Data.Common.DataAdapter.FillSchema( ), System.Data.Common.DbDataAdapter.FillSchema( ), IDataAdapter.FillSchema( )
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access