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

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

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