See “Additional Schema Metadata Collections” for details about the other collections supported by the data providers.The MetaDataCollections schema collection is a list of the schema collections that are available to the logged in user. The MetaDataCollection can return the supported columns described in Table 5-2 in any order.
The DataSourceInformation schema collection can return the supported columns, described in Table 5-3, in any order.
Table 5-4 lists the provider-specific ColumnNames:
Table 5-4. Provider-specific ColumnNames
Table 5-5 describes the supported columns of the DataTypes schema collection. The columns can be returned in any order.
For example, the SQL data type DECIMAL needs a precision and a scale. In this case, the creation parameters should contain the string "precision, scale".In a text command to create a DECIMAL column with a precision of 10 and a scale of 2, the value of the CreateFormat column might be DECIMAL({0},{1})" and the complete type specification would be DECIMAL(10,2). Otherwise, this is DBNull.Value. This schema collection exposes information about the words that are reserved by the database to which the data provider is connected. Table 5-6 describes the columns that the data provider supports.
Table 5-6. ReservedWords Schema Collection The Restrictions schema collection exposes information about the restrictions that are supported by the data provider that is currently connected to the database. Table 5-7 describes the columns that are returned by the data providers. The columns can be returned in any order.DataDirect Connect for ADO.NET data providers use standardized names for restrictions. If a data provider supports a restriction for a Schema method, it always uses the same name for the restriction.The case sensitivity of any restriction value is determined by the underlying database, and can be determined by the IdentifierCase and QuotedIdentifierCase values in the DataSourceInformation collection (see “DataSourceInformation Schema Collection”).