Click or drag to resize

SchemaInfoCollectionCreateInstance Method (IDataReader, String)

Note: This API is now obsolete.

Creates and returns an instance of the collection from the global cache. If the object doesn't exist in the cache it is added. This method is deprecated in favor of CreateInstance(IAppContext, IDataReader, String, DBMSType) in order to prevent the possibility of cross-application caching.

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[ObsoleteAttribute("Deprecated -- use CreateInstance(IAppContext cxt, IDataReader reader, string mapperKey, DBMSType dbmsType).")]
public static SchemaInfoCollection CreateInstance(
	IDataReader reader,
	string mapperKey
)

Parameters

reader
Type: System.DataIDataReader
The readers from which to extract the schema information.
mapperKey
Type: SystemString
The mapper for which the schema applies.

Return Value

Type: SchemaInfoCollection
A new SchemaInfoCollection object.
See Also