OracleDynamicCollection(OracleDataSource, string, OracleCollectionOptions)

Instantiates a new instance of OracleDynamicCollection class using the provided data source and collection name.

Declaration

// C#
OracleDynamicCollection (OracleDataSource dataSource, string collectionName, OracleCollectionOptions options)

Parameters

  • dataSource

    The data source which can be used to obtain open database connections.

  • collectionName

    Name of the collection

  • options

    Vector collection configuration options.

Exceptions

  • ArgumentNullException: The provided dataSource or name parameter is null.
  • ArgumentException:
    • The provided collectionName parameter is null, an empty string or contains white spaces only.
    • The provided collectionName is not compliant with Oracle name standard.
    • The definition provided in OracleCollectionOptions.Definition is null or cannot be mapped to an Oracle type based on the default/custom type mapping.