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