static void Main(string[] args) { using (SalesDatabaseContext context = new SalesDatabaseContext()) { context.Database.EnsureDeleted(); context.Database.EnsureCreated(); } }
public SalesController(SalesDatabaseContext context) { _context = context; }
public CustomersController(SalesDatabaseContext context) { _context = context; }
public ProductsController(SalesDatabaseContext context) { _context = context; }