SchemaInfoCollectionCreateInstance Method (IAppContext, IDataReader, String, DBMSType) |
Creates and returns an instance of the collection from the global cache. If the object doesn't exist in the cache it is added.
Namespace:
NetQuarry.Data
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static SchemaInfoCollection CreateInstance(
IAppContext cxt,
IDataReader reader,
string mapperKey,
DBMSType dbmsType
)
Public Shared Function CreateInstance (
cxt As IAppContext,
reader As IDataReader,
mapperKey As String,
dbmsType As DBMSType
) As SchemaInfoCollection
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context, required in order to ensure there is no cross-application caching. - reader
- Type: System.DataIDataReader
The readers from which to extract the schema information. - mapperKey
- Type: SystemString
The mapper for which the schema applies. - dbmsType
- Type: NetQuarryDBMSType
The database type (e.g. SQL-Server).
Return Value
Type:
SchemaInfoCollectionA new SchemaInfoCollection object.
See Also