예제 #1
0
 public GenericRepository(GottKnarkContext context)
 {
     this.context = context;
     dbSet        = context.Set <TEntity>();
 }
예제 #2
0
 public UnitOfWork()
 {
     context = new GottKnarkContext();
 }