예제 #1
0
        private void SetUpConnectionString()
        {
            IDatabaseType type = new EfSqlServer("SQLServerDb", txtIpAddress.Text);

            _context     = new FBFDBContext(type);
            _userService = new UserService(_context);
        }
예제 #2
0
        private void InitializeDbContext(string ipAddress)
        {
            IDatabaseType type = new EfSqlServer("SQLServerDb", ipAddress);

            _context = new FBFDBContext(type);
        }
예제 #3
0
 public UserService(FBFDBContext context)
 {
     _context = context;
 }
예제 #4
0
 public ItemService(FBFDBContext context)
 {
     _context = context;
 }
예제 #5
0
 public ReturnedHistoryService(FBFDBContext context)
 {
     _context = context;
 }
예제 #6
0
 public Login(FBFDBContext context)
 {
     _context = context;
     InitializeComponent();
 }
예제 #7
0
 public SupplierService(FBFDBContext context)
 {
     _context = context;
 }
예제 #8
0
 public DRService(FBFDBContext context)
 {
     _context = context;
 }
예제 #9
0
 public CategoryService(FBFDBContext context)
 {
     _context = context;
 }
예제 #10
0
 public CustomerService(FBFDBContext context)
 {
     _context = context;
 }
예제 #11
0
 public HistoryService(FBFDBContext context)
 {
     _context = context;
 }