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

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

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