FillSchema(DataSet, SchemaType, IDbCommand, string, CommandBehavior) method
Adds a System.Data.DataTable to a System.Data.DataSet and configures the schema to match the schema in the data source.
Parameters
- dataSet
- A System.Data.DataSet to fill with the schema.
- schemaType
- One of the System.Data.SchemaType values that specify how to insert the schema.
- command
- The SQL SELECT statement used to retrieve rows from the data source.
- srcTable
- The name of the source table to use for table mapping.
- behavior
- One of the System.Data.CommandBehavior values.
Returns
A reference to a collection of System.Data.DataTable objects that were added to the System.Data.DataSet.Remarks
For more information, see System.Data.IDataAdapter.FillSchema and HanaDataAdapter: Format a DataTable using FillSchema.