SchemaInfoCollection Constructor |
Name | Description | |
---|---|---|
SchemaInfoCollection |
Default constructor. Should be used only when the corresponding object does not exist in the schema.
| |
SchemaInfoCollection(IDataReader) | Obsolete.
Initializes a new instance of the object based on the schema provided in the DataReader.
This overload is intended for use with tables and views.
Use SchemaInfoCollection(IDataParameterCollection, DBMSType) for stored procedures.
Note that this constructor is deprecated and use of SchemaInfoCollection(IDataParameterCollection, DBMSType) is preferred
because it does not assume the provider is SQLServer. | |
SchemaInfoCollection(IDataParameterCollection, DBMSType) |
Initializes a new instance of the object based on the schema provided in the parameters collection.
This overload is intended for use with stored procedures.
Use SchemaInfoCollection(IDataReader, DBMSType) for tables and views.
| |
SchemaInfoCollection(IDataReader, DBMSType) |
Initializes a new instance of the object based on the schema provided in the DataReader.
This overload is intended for use with tables and views.
Use SchemaInfoCollection(IDataParameterCollection, DBMSType) for stored procedures.
|