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( )
Get ADO.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.