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