Esempio n. 1
0
 public static T GetByInterface <T>(this IDbContextCollection collection) where T : class, IDbContext
 {
     return(GetDbContextFromCollection(collection, typeof(T)) as T);
 }
Esempio n. 2
0
 protected abstract DbContext GetDbContext(IDbContextCollection dbContextCollection);