Example #1
0
        public OraClient()
        {
            ConnectionElement L_ConnEle = ConnectionManager.MainConnection;

            Conn           = L_ConnEle.GetOracleConnection();
            CommandTimeout = L_ConnEle.CommandTimeout;

            Open();
        }
Example #2
0
        public OraClient(string Ps_Name)
        {
            DBName = Ps_Name;
            ConnectionElement L_ConnEle = (DBName == string.Empty) ? ConnectionManager.MainConnection :
                                          ConnectionManager.ConnectionList[DBName];

            Conn           = L_ConnEle.GetOracleConnection();
            CommandTimeout = L_ConnEle.CommandTimeout;

            Open();
        }