Пример #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         context.Dispose();
         context = null;
     }
     base.Dispose(disposing);
 }
Пример #2
0
 public RoleController()
 {
     context = new GarmentContext();
 }
Пример #3
0
 public TeamRepository(GarmentContext context)
 {
     _context = context;
 }
Пример #4
0
 public TeamRepository()
 {
     _context = new GarmentContext();
 }
Пример #5
0
 public GoalRepository(GarmentContext context)
 {
     _context = context;
 }
Пример #6
0
 public GoalRepository()
 {
     _context = new GarmentContext();
 }
Пример #7
0
 public LatestSummaryRepository(GarmentContext context)
 {
     _context = context;
 }
Пример #8
0
 public LatestSummaryRepository()
 {
     _context = new GarmentContext();
 }
Пример #9
0
 public ProduceHistoryRepository()
 {
     _context = new GarmentContext();
 }
Пример #10
0
 public ProduceHistoryRepository(GarmentContext context)
 {
     _context = context;
 }
Пример #11
0
 public AccountController()
 {
     context = new GarmentContext();
 }
 public EmployeeRepository()
 {
     _context = new GarmentContext();
 }
 public EmployeeRepository(GarmentContext context)
 {
     _context = context;
 }