public static NorthwindContext GetNorthwindContext() { _northwindContext = (_northwindContext ?? new NorthwindContext()); return _northwindContext; }
public CustomerRepository() { _context = NorthwindContext.GetNorthwindContext(); }
public CategoryRepository() { _context = NorthwindContext.GetNorthwindContext(); }
public OrderRepository() { _context = NorthwindContext.GetNorthwindContext(); }
public ProductRepository() { _context = NorthwindContext.GetNorthwindContext(); }
public SupplierRepository() { _context = NorthwindContext.GetNorthwindContext(); }
public BlogResponseRepository() { _context = NorthwindContext.GetNorthwindContext(); }
public BlogEntryRepository() { _context = NorthwindContext.GetNorthwindContext(); }