public DbTSQLDataSource(ConnectionSettings connSett, string name) : base(getTypeDB(connSett), name, false) { _iListenerId = -1; _counterRegistred = -1; SetConnectionSettings(connSett); _this = this; }
public static DbTSQLDataSource DataSource() { DbTSQLDataSource dbInterfaceRes = null; if (Equals(_this, null) == false) { dbInterfaceRes = _this; } else { throw new NullReferenceException("DbTSQLDataSource::ctor () - не был вызван..."); } return(dbInterfaceRes); }
public static DbTSQLDataSource DataSource() { DbTSQLDataSource dbInterfaceRes = null; if ((Equals(_this, null) == false) && (!(_currentIdThis == 0)) && (_this.ContainsKey(_currentIdThis) == true)) { dbInterfaceRes = (DbTSQLDataSource)_this[_currentIdThis]._object; } else { throw new NullReferenceException("DbTSQLDataSource::ctor () - не был вызван..."); } return(dbInterfaceRes); }