Exemplo n.º 1
0
 public static DBHandler GetHandler(DBConfig.MySQL.DatabaseConfig DBconfig)
 {
     if (_self == null)
     {
         _self = new DBHandler(DBconfig);
     }
     return _self;
 }
Exemplo n.º 2
0
        public IDBHandler GetHandler()
        {
            //  if (Lincore.DataTools.DBHandler.MYSQL.DBHandler.DatabaseConfig == null)
              //      Lincore.DataTools.DBHandler.MYSQL.DBHandler.DatabaseConfig = this;

            if (_dbHandle == null)
            {
                _dbHandle = Lincore.DataTools.DBHandler.MYSQL.DBHandler.GetHandler(this);
            }
            return _dbHandle;
        }