Exemple #1
0
 public static CarManagementContext getInstance()
 {
     if (instance == null)
     {
         instance = new CarManagementContext();
     }
     return(instance);
 }
Exemple #2
0
 public UnitOfWork()
 {
     context = CarManagementContext.getInstance();
 }
Exemple #3
0
 public UnitOfWork(CarManagementContext carManagmentContext)
 {
     this.context = carManagmentContext;
 }