Exemple #1
0
 public OwnerRepository(AsaNiDBContext asaNiDBContext)
     : base(asaNiDBContext)
 {
 }
Exemple #2
0
 public void Dispose()
 {
     AsaNiDBContext.Dispose();
 }
Exemple #3
0
 public void Save()
 {
     AsaNiDBContext.SaveChanges();
 }
Exemple #4
0
 public UnitOfWork(AsaNiDBContext asaNiDBContext)
 {
     AsaNiDBContext = asaNiDBContext;
     House          = new HouseRepository(AsaNiDBContext);
     Owner          = new OwnerRepository(AsaNiDBContext);
 }
Exemple #5
0
 public HouseRepository(AsaNiDBContext asaNiDBContext)
     : base(asaNiDBContext)
 {
 }
Exemple #6
0
 public RepositoryBase(AsaNiDBContext asaNiDBContext)
 {
     AsaNiDBContext = asaNiDBContext;
 }