public EFRepository(ITwsDbContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }
예제 #2
0
 public TwsData(ITwsDbContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }