Oracle Connection String Attribute

Oracle Connection String Attributes
Oracle Connection String Attributes

private string BuildConnectionString(string TNSName, string UserID, string

Password)

{

OracleConnectionStringBuilder _conn = new OracleConnectionStringBuilder();

{

_conn.DataSource = TNSName;

_conn.DecrPoolSize = 5;

_conn.IncrPoolSize = 10;

_conn.Pooling = true;

_conn.MaxPoolSize = 100;

_conn.MinPoolSize = 5;

_conn.ConnectionLifeTime = 120

_conn.ConnectionTimeout = 60

_conn.UserID = UserID;

_conn.Password = Password;

}

return _conn.ConnectionString;

}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s