Namespaces

Types in FluentNHibernate.Cfg.Db

Type OracleConnectionStringBuilder

Namespace FluentNHibernate.Cfg.Db

Parent ConnectionStringBuilder

Methods

Public instance methods

OracleConnectionStringBuilder Instance(string instance)

Specifies the instance (database name) to use. This can be the short name or the fully qualified name (Oracle service name).
Parameters
string instance

The instance.

OracleConnectionStringBuilder OtherOptions(string otherOptions)

Specifies, as a string, other Oracle options to pass to the connection.
Parameters
string otherOptions

The other options.

OracleConnectionStringBuilder Pooling(bool pooling)

Enable or disable pooling connections for this data configuration.
Parameters
bool pooling

if set to true enable pooling.

OracleConnectionStringBuilder Port(int port)

Optional. Ports the specified port the oracle database is running on. This defaults to 1521.
Parameters
int port

The port.

OracleConnectionStringBuilder StatementCacheSize(int cacheSize)

Specifies the SQL statement cache size to use for this connection.
Parameters
int cacheSize

Size of the cache.