public SaleMgr()
 {
     InitializeComponent();
     DataContext = this;
     _context.Sales.Load();
     DbCtxtMgr = _context;
     SaleDataGrid.ItemsSource = _context.Sales.Local;
 }
 public ProductMgr()
 {
     InitializeComponent();
     DataContext = this;
     _context.Products.Load();
     DbCtxtMgr = _context;
     ProductDataGrid.ItemsSource = _context.Products.Local;
 }
Beispiel #3
0
 public CustomerMgr()
 {
     InitializeComponent();
     DataContext = this;
     _context.Customers.Load();
     DbCtxtMgr = _context;
     CustomerDataGrid.ItemsSource = _context.Customers.Local;
 }