Click or drag to resize

SchemaInfoCollection Constructor (IDataReader)

Note: This API is now 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.

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[ObsoleteAttribute("This constructor has been deprecated and is superceded by a constructor taking a DBMSType parameter.")]
public SchemaInfoCollection(
	IDataReader reader
)

Parameters

reader
Type: System.DataIDataReader
An IDataReader object to use to build the collection.
See Also