private void SetUpConnectionString() { IDatabaseType type = new EfSqlServer("SQLServerDb", txtIpAddress.Text); _context = new FBFDBContext(type); _userService = new UserService(_context); }
private void InitializeDbContext(string ipAddress) { IDatabaseType type = new EfSqlServer("SQLServerDb", ipAddress); _context = new FBFDBContext(type); }
public UserService(FBFDBContext context) { _context = context; }
public ItemService(FBFDBContext context) { _context = context; }
public ReturnedHistoryService(FBFDBContext context) { _context = context; }
public Login(FBFDBContext context) { _context = context; InitializeComponent(); }
public SupplierService(FBFDBContext context) { _context = context; }
public DRService(FBFDBContext context) { _context = context; }
public CategoryService(FBFDBContext context) { _context = context; }
public CustomerService(FBFDBContext context) { _context = context; }
public HistoryService(FBFDBContext context) { _context = context; }