C# Class FluentNHibernate.Cfg.Db.OracleConnectionStringBuilder

Inheritance: FluentNHibernate.Cfg.Db.ConnectionStringBuilder
Datei anzeigen Open project: HudsonAkridge/fluent-nhibernate Class Usage Examples

Public Methods

Method Description
Instance ( string instance ) : OracleConnectionStringBuilder

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

OracleConnectionStringBuilder ( )
OtherOptions ( string otherOptions ) : OracleConnectionStringBuilder

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

Password ( string password ) : OracleConnectionStringBuilder

Specifies the password of the user account accessing the database.

Pooling ( bool pooling ) : OracleConnectionStringBuilder

Enable or disable pooling connections for this data configuration.

Port ( int port ) : OracleConnectionStringBuilder

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

Server ( string server ) : OracleConnectionStringBuilder

Specifies the server to connect. This can be either the DNS name of the server or the IP (as a string).

StatementCacheSize ( int cacheSize ) : OracleConnectionStringBuilder

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

Username ( string username ) : OracleConnectionStringBuilder

Specifies the name of the user account accessing the database.

Protected Methods

Method Description
Create ( ) : string

Method Details

Create() protected method

protected Create ( ) : string
return string

Instance() public method

Specifies the instance (database name) to use. This can be the short name or the fully qualified name (Oracle service name).
public Instance ( string instance ) : OracleConnectionStringBuilder
instance string The instance.
return OracleConnectionStringBuilder

OracleConnectionStringBuilder() public method

OtherOptions() public method

Specifies, as a string, other Oracle options to pass to the connection.
public OtherOptions ( string otherOptions ) : OracleConnectionStringBuilder
otherOptions string The other options.
return OracleConnectionStringBuilder

Password() public method

Specifies the password of the user account accessing the database.
public Password ( string password ) : OracleConnectionStringBuilder
password string The password.
return OracleConnectionStringBuilder

Pooling() public method

Enable or disable pooling connections for this data configuration.
public Pooling ( bool pooling ) : OracleConnectionStringBuilder
pooling bool if set to true enable pooling.
return OracleConnectionStringBuilder

Port() public method

Optional. Ports the specified port the oracle database is running on. This defaults to 1521.
public Port ( int port ) : OracleConnectionStringBuilder
port int The port.
return OracleConnectionStringBuilder

Server() public method

Specifies the server to connect. This can be either the DNS name of the server or the IP (as a string).
public Server ( string server ) : OracleConnectionStringBuilder
server string The server.
return OracleConnectionStringBuilder

StatementCacheSize() public method

Specifies the SQL statement cache size to use for this connection.
public StatementCacheSize ( int cacheSize ) : OracleConnectionStringBuilder
cacheSize int Size of the cache.
return OracleConnectionStringBuilder

Username() public method

Specifies the name of the user account accessing the database.
public Username ( string username ) : OracleConnectionStringBuilder
username string The username.
return OracleConnectionStringBuilder