Example #1
0
 public Repository(AtomDbContext atomDbContext)
 {
     Table = atomDbContext.Set <T>();
 }
Example #2
0
 public UnitOfWork(AtomDbContext atomDbContext)
 {
     this.atomDbContext = atomDbContext;
     Repository         = new Repository <T>(atomDbContext);
 }