Example #1
0
 public UnitOfWork(LionContext context)
 {
     _context = context;
 }
Example #2
0
 public CustomerRepository(LionContext context)
     : base(context)
 {
 }
Example #3
0
 public Repository(LionContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }