Contents Index FillError event GetFillParameters method

ASA Programming Guide
  Adaptive Server Anywhere .NET Data Provider API Reference
    AsaDataAdapter class

FillSchema method


Description 

Adds DataTables to a DataSet and configures the schema to match the schema in the data source.

Syntax 1 

DataTable[ ] FillSchema(
DataSet dataSet,
 SchemaType schemaType
)

Syntax 2 

DataTable[ ] FillSchema(
DataSet dataSet,
SchemaType schemaType,
string srcTable
)

Syntax 3 

DataTable FillSchema(
DataTable dataTable,
SchemaType schemaType
)

Parameters 

dataSet    A DataSet to fill with records and optionally schema.

schemaType    One of the SchemaType values that specify how to insert the schema.

srcTable    The name of the source table to use for table mapping.

dataTable    A DataTable.

Return Value 

For syntax 1 and 2, the return value is a reference to a collection of DataTable objects that were added to the DataSet. For syntax 3, the return value is a reference to a DataTable.

See also 

Obtaining AsaDataAdapter schema information


Contents Index FillError event GetFillParameters method