OracleCollection<TKey, TRecord>(OracleDataSource, string, OracleCollectionOptions?)
Instantiates a new instance of OracleCollection class using the provided data source and collection name.
Declaration
// C#
OracleCollection<TKey, TRecord>(OracleDataSource dataSource, string collectionName, OracleCollectionOptions? options = default)
Parameters
-
dataSourceThe data source which can be used to obtain open database connections.
-
collectionNameName of the collection
-
optionsOptional vector collection configuration options.
Exceptions
-
ArgumentNullException: The provideddataSourceornameparameter is null. -
ArgumentException:-
The provided
collectionNameparameter is null, an empty string or contains white spaces only. -
The provided
collectionNameis not compliant with Oracle name standard. -
The definition provided in
OracleCollectionOptions.Definitioncannot be mapped to an Oracle type based on the default/custom type mapping.
-