Ejemplo n.º 1
0
 /// <summary>
 /// 通过数据上下文类型获取数据上下文配置
 /// </summary>
 /// <param name="dbContextType"></param>
 /// <returns></returns>
 public EntityFrameworkOptions GetDbContextOptions(Type dbContextType)
 {
     return(_optionsCollection.Get(dbContextType));
 }