示例#1
0
 public ContactRepository(ContactDbContext context)
 {
     this.Context = context;
     this.DbSet   = context.Set <TEntity>();
 }
示例#2
0
 public ContactUnitOfWork(ContactDbContext contactDbContext)
 {
     _contactDbContext = contactDbContext;
 }