示例#1
0
 public UnitOfWork(HarryPotterContext context)
 {
     _context = context;
 }
示例#2
0
 public RepositoryBase(HarryPotterContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }
示例#3
0
 public CharacterRepository(HarryPotterContext context) : base(context)
 {
 }