public virtual OciGlue CreateConnection(OracleConnectionInfo info) { OciGlue oci; oci = new OciGlue(); oci.CreateConnection(info); return(oci); }
public override void Open() { if (State == ConnectionState.Open) { return; } PersistSecurityInfo(); if (!pooling || conInfo.SetNewPassword == true) { oci = new OciGlue(); oci.CreateConnection(conInfo); } else { pool = pools.GetConnectionPool(conInfo, minPoolSize, maxPoolSize); oci = pool.GetConnection(); } state = ConnectionState.Open; CreateStateChange(ConnectionState.Closed, ConnectionState.Open); }