예제 #1
0
 public WriteRepositoryEF(SWAutoresDataContext ctx)
 {
     _ctx = ctx;
     _db  = _ctx.Set <TEntity>();
 }
예제 #2
0
 public AutorRepository(SWAutoresDataContext context)
 {
     _context = context;
 }