Beispiel #1
0
 public EntityRepository(DbContextBase context)
 {
     this.context = context;
 }
Beispiel #2
0
 public EntityRepository(IDbContextFactory contextFactory)
 {
     context = contextFactory.GetContext <T>();
 }