Esempio n. 1
0
 public UnitOfWork(HomeRankerContext context)
 {
     _currentContext     = context;
     CriteriaRepository  = new CriteriaRepository(context);
     RateRepository      = new RateRepository(context);
     ApartmentRepository = new ApartmentRepository(context);
     PhotoRepository     = new PhotoRepository(context);
 }
Esempio n. 2
0
 public RateRepository(HomeRankerContext context)
 {
     _currentContext = context;
 }
Esempio n. 3
0
 public CriteriaRepository(HomeRankerContext context)
 {
     _currentContext = context;
 }
Esempio n. 4
0
 public ApartmentRepository(HomeRankerContext context)
 {
     _currentContext = context;
 }
Esempio n. 5
0
 public PhotoRepository(HomeRankerContext context)
 {
     _currentContext = context;
 }