Click or drag to resize

SchemaInfoCollection Constructor

Overload List
  NameDescription
Public methodSchemaInfoCollection
Default constructor. Should be used only when the corresponding object does not exist in the schema.
Public methodSchemaInfoCollection(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.
Public methodSchemaInfoCollection(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.
Public methodSchemaInfoCollection(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.
Top
See Also