Пример #1
0
 public SqlEntryRepository(PhoneBookDbContext db)
 {
     _db = db;
 }
Пример #2
0
 public Repository(PhoneBookDbContext context)
 {
     this.context = context;
     entities     = context.Set <T>();
 }