Exemplo n.º 1
0
 /// <summary>
 /// 获取当前配置信息
 /// </summary>
 /// <returns></returns>
 internal static IDataServiceConfig GetConfig()
 {
     return(MdkConfiguration.GetConfig().GetCustomConfig <ScheduleOperScheduleConfig>());
 }
Exemplo n.º 2
0
 public PlatformPatientRecordService(IDapperContext context)
     : base(context)
 {
     MdkConfiguration.AddCustomConfig <XmlDictConfig>();
     mdkConfig = MdkConfiguration.GetConfig();
 }
Exemplo n.º 3
0
 /// <summary>
 /// 获取当前配置信息
 /// </summary>
 /// <returns></returns>
 internal static IDataServiceConfig GetConfig()
 {
     return(MdkConfiguration.GetConfig().GetCustomConfig <AnesWorkStationConfig>());
 }
Exemplo n.º 4
0
 /// <summary>
 /// IOC容器使用的构造方法,必须标记为public,供外部使用。
 /// </summary>
 /// <param name="context">数据连接对象</param>
 public BaseService(IDapperContext context)
 {
     dapper  = context;
     sqlDict = MdkConfiguration.GetConfig().XmlDict;
 }
Exemplo n.º 5
0
 public PlatformChargeInfoService(IDapperContext context)
     : base(context)
 {
     MdkConfiguration.AddCustomConfig <XmlDictConfig>();
     mdkConfig = MdkConfiguration.GetConfig();
 }
Exemplo n.º 6
0
 public PlatformSendWeChatDataService(IDapperContext context)
     : base(context)
 {
     MdkConfiguration.AddCustomConfig <XmlDictConfig>();
     mdkConfig = MdkConfiguration.GetConfig();
 }
Exemplo n.º 7
0
 /// <summary>
 /// 获取当前配置信息
 /// </summary>
 /// <returns></returns>
 internal static IDataServiceConfig GetConfig()
 {
     return(MdkConfiguration.GetConfig().GetCustomConfig <PlatformAnesPlatformConfig>());
 }