Inheritance: Core.DbContext
 public static NorthwindContext GetNorthwindContext()
 {
     _northwindContext = (_northwindContext ?? new NorthwindContext());
     return _northwindContext;
 }
Ejemplo n.º 2
0
 public CustomerRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
Ejemplo n.º 3
0
 public CategoryRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
Ejemplo n.º 4
0
 public OrderRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
Ejemplo n.º 5
0
 public ProductRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
Ejemplo n.º 6
0
 public SupplierRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
 public BlogResponseRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }
Ejemplo n.º 8
0
 public BlogEntryRepository()
 {
     _context = NorthwindContext.GetNorthwindContext();
 }