예제 #1
0
 public DbSet <E> SetContext <E>() where E : class
 {
     return(context.Set <E>());
 }
예제 #2
0
 public BaseRepository()
 {
     context = new ComponentContext();
     dbSet   = context.Set <T>();
 }