Beispiel #1
0
        internal static IRepository <UploadType> GetRepo(string connectionString, string providerName)
        {
            Solution.DataAccess.DataModel.SolutionDataBase_standardDB db;
            if (String.IsNullOrEmpty(connectionString))
            {
                db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
            }
            else
            {
                db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB(connectionString, providerName);
            }
            IRepository <UploadType> _repo;

            if (db.TestMode)
            {
                UploadType.SetTestRepo();
                _repo = _testRepo;
            }
            else
            {
                _repo = new SubSonicRepository <UploadType>(db);
            }
            return(_repo);
        }
Beispiel #2
0
 public RECEIVABLES01()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #3
0
 public UploadType()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #4
0
 public CONTRACT01()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #5
0
 public WebConfig()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public ORDER_DEP02()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public GROUPAREA()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #8
0
 public SHOP_PRICE_AREA(string connectionString, string providerName)
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB(connectionString, providerName);
     Init();
 }
 public IN_BACK01()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public SHOP_SUPPLIER_RELATION()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public SHOP_SUPPLIER_RELATION(string connectionString, string providerName)
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB(connectionString, providerName);
     Init();
 }
Beispiel #12
0
 public V_PROD_CATE()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #13
0
 public V_ORDER01_PRODUCT01()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #14
0
 public EmailSendHistory()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #15
0
 public EmailSendHistory(string connectionString, string providerName)
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB(connectionString, providerName);
     Init();
 }
 public Material01()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public TABLE_SEED()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public HEAD_SHOP_ACCOUNT(string connectionString, string providerName)
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB(connectionString, providerName);
     Init();
 }
Beispiel #19
0
 public SHOP_PRICE_AREA()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public HEAD_SHOP_ACCOUNT()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #21
0
 public Information()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public V_COMPONENT01_PRODUCT00(string connectionString, string providerName)
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB(connectionString, providerName);
     Init();
 }
 public SUPPLIERS()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public V_COMPONENT01_PRODUCT00()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
 public OUT00()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #26
0
 public PROD_KIND()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #27
0
 public UploadType(string connectionString, string providerName)
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB(connectionString, providerName);
     Init();
 }
 public Inventory01()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #29
0
 public Purchase01()
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB();
     Init();
 }
Beispiel #30
0
 public RECEIVABLES01(string connectionString, string providerName)
 {
     _db = new Solution.DataAccess.DataModel.SolutionDataBase_standardDB(connectionString, providerName);
     Init();
 }