public virtual OciGlue CreateConnection (OracleConnectionInfo info) 
		{
			OciGlue oci;
			oci = new OciGlue ();
			oci.CreateConnection (info);
			return oci;
		}
Ejemplo n.º 2
0
        public virtual OciGlue CreateConnection(OracleConnectionInfo info)
        {
            OciGlue oci;

            oci = new OciGlue();
            oci.CreateConnection(info);
            return(oci);
        }
Ejemplo n.º 3
0
 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;
		}
Ejemplo n.º 5
0
 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;
			}
		}