internal static IRepository <Manager> GetRepo(string connectionString, string providerName) { Solution.DataAccess.DataModel.SolutionDataBaseDB db; if (String.IsNullOrEmpty(connectionString)) { db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); } else { db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); } IRepository <Manager> _repo; if (db.TestMode) { Manager.SetTestRepo(); _repo = _testRepo; } else { _repo = new SubSonicRepository <Manager>(db); } return(_repo); }
public UploadFile() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public Manager(string connectionString, string providerName) { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }
public LoginLog() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public Manager() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public AdvertisingPosition() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public InformationClass(string connectionString, string providerName) { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }
public MenuInfo() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public V_Position_Branch(string connectionString, string providerName) { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }
public Advertisement() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public AdvertisingPosition(string connectionString, string providerName) { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }
public PagePowerSignPublic(string connectionString, string providerName) { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }
public OnlineUsers() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public PagePowerSignPublic(string connectionString, string providerName) { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }
public UseLog() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public V_Position_Branch() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public InformationClass(string connectionString, string providerName) { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }
public WebConfig() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public MenuInfo() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public PagePowerSign() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public InformationClass() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public PagePowerSign() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public Branch() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public Advertisement() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public OnlineUsers() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public UploadType() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public Information() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public WebConfig() { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public Manager() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public Position() { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(); Init(); }
public UseLog(string connectionString, string providerName) { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }
public AdvertisingPosition(string connectionString, string providerName) { _db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }
internal static IRepository<UseLog> GetRepo(string connectionString, string providerName) { Solution.DataAccess.DataModel.SolutionDataBaseDB db; if(String.IsNullOrEmpty(connectionString)){ db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(); }else{ db=new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); } IRepository<UseLog> _repo; if(db.TestMode){ UseLog.SetTestRepo(); _repo=_testRepo; }else{ _repo = new SubSonicRepository<UseLog>(db); } return _repo; }
public V_Position_Branch(string connectionString, string providerName) { _db = new Solution.DataAccess.DataModel.SolutionDataBaseDB(connectionString, providerName); Init(); }