public static void Initialize()
 {
     UnitOfWorkContextManage.RegisterWorkContext(GetEFUnitOfWorkContext);
     DbContextManage.RegisterDbContext(GetKingimeNetContext);
 }
Esempio n. 2
0
 /// <summary>
 /// 注册数据访问配置
 /// </summary>
 public static void Register()
 {
     UnitOfWorkContextManage.RegisterWorkContext(RegisterWorkContext);
     DbContextManage.RegisterDbContext(RegisterDbContext);
 }