public virtual OciGlue CreateConnection (OracleConnectionInfo info) { OciGlue oci; oci = new OciGlue (); oci.CreateConnection (info); return oci; }
public virtual OciGlue CreateConnection(OracleConnectionInfo info) { OciGlue oci; oci = new OciGlue(); oci.CreateConnection(info); return(oci); }
public OracleConnectionPool(OracleConnectionPoolManager manager, OracleConnectionInfo info, int minPoolSize, int maxPoolSize) { this.info = info; this.manager = manager; initialized = false; PoolMinSize = minPoolSize; PoolMaxSize = maxPoolSize; }
public OracleConnectionPool (OracleConnectionPoolManager manager, OracleConnectionInfo info, int minPoolSize, int maxPoolSize) { this.info = info; this.manager = manager; initialized = false; PoolMinSize = minPoolSize; PoolMaxSize = maxPoolSize; }
public OracleConnectionPool GetConnectionPool(OracleConnectionInfo info, int minPoolSize, int maxPoolSize) { lock (pools) { OracleConnectionPool pool = (OracleConnectionPool)pools [info.ConnectionString]; if (pool == null) { pool = new OracleConnectionPool(this, info, minPoolSize, maxPoolSize); pools [info.ConnectionString] = pool; } return(pool); } }
public OracleConnectionPool GetConnectionPool (OracleConnectionInfo info, int minPoolSize, int maxPoolSize) { lock (pools) { OracleConnectionPool pool = (OracleConnectionPool) pools [info.ConnectionString]; if (pool == null) { pool = new OracleConnectionPool (this, info, minPoolSize, maxPoolSize); pools [info.ConnectionString] = pool; } return pool; } }