Наследование: Core.DbContext
 public static NorthwindContext GetNorthwindContext()
 {
     _northwindContext = (_northwindContext ?? new NorthwindContext());
     return _northwindContext;
 }
Пример #2
0
 public CustomerRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
Пример #3
0
 public CategoryRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
Пример #4
0
 public OrderRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
Пример #5
0
 public ProductRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
Пример #6
0
 public SupplierRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
 public BlogResponseRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
 public BlogEntryRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }