コード例 #1
0
 public Category(string connectionString, string providerName)
 {
     _db=new OBS.Pos.Business.PosDB(connectionString, providerName);
     Init();
 }
コード例 #2
0
 public Tax()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #3
0
 public Period()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #4
0
 public StockCount()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #5
0
 public StockType()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #6
0
 public ProductSupplier(string connectionString, string providerName)
 {
     _db=new OBS.Pos.Business.PosDB(connectionString, providerName);
     Init();
 }
コード例 #7
0
 public Role()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #8
0
 public CustomerOut()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #9
0
 public Location()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #10
0
 public User()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #11
0
 public CustomerOut(string connectionString, string providerName)
 {
     _db=new OBS.Pos.Business.PosDB(connectionString, providerName);
     Init();
 }
コード例 #12
0
 public UnitOfMeasurement()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #13
0
 public UnitOfMeasurement(string connectionString, string providerName)
 {
     _db=new OBS.Pos.Business.PosDB(connectionString, providerName);
     Init();
 }
コード例 #14
0
 public TransactionType()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #15
0
 public ProductCategory()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #16
0
 public PaymentMode(string connectionString, string providerName)
 {
     _db=new OBS.Pos.Business.PosDB(connectionString, providerName);
     Init();
 }
コード例 #17
0
 public ProductStock()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #18
0
 public PaymentType()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #19
0
 public ProductSupplier()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #20
0
 public AppSetting(string connectionString, string providerName)
 {
     _db=new OBS.Pos.Business.PosDB(connectionString, providerName);
     Init();
 }
コード例 #21
0
 public Shift()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #22
0
 public PayTran()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #23
0
 public StockType(string connectionString, string providerName)
 {
     _db=new OBS.Pos.Business.PosDB(connectionString, providerName);
     Init();
 }
コード例 #24
0
 public AppSetting()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }
コード例 #25
0
        internal static IRepository<StockType> GetRepo(string connectionString, string providerName)
        {
            OBS.Pos.Business.PosDB db;
            if(String.IsNullOrEmpty(connectionString)){
                db=new OBS.Pos.Business.PosDB();
            }else{
                db=new OBS.Pos.Business.PosDB(connectionString, providerName);
            }
            IRepository<StockType> _repo;

            if(db.TestMode){
                StockType.SetTestRepo();
                _repo=_testRepo;
            }else{
                _repo = new SubSonicRepository<StockType>(db);
            }
            return _repo;
        }
コード例 #26
0
 public Currency()
 {
     _db=new OBS.Pos.Business.PosDB();
     Init();
 }