Blame view

netcore/src/Infrastructure/NCC.Data.SqlSugar/Extensions/ConfigureExternalServicesExtenisons.cs 830 Bytes
96009bc9   hexiaodong   hxd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  using SqlSugar;
  using System;
  
  namespace NCC.Data.SqlSugar.Extensions
  {
      /// <summary>
      /// 配置外部服务扩展
      /// </summary>
      public class ConfigureExternalServicesExtenisons : ConfigureExternalServices
      {
          /// <summary>
          /// 实体名称服务类型
          /// </summary>
          private Type _EntityNameServiceType;
  
          /// <summary>
          /// 实体名称服务类型
          /// </summary>
          public Type EntityNameServiceType
          {
              get
              {
                  if (_EntityNameServiceType == null)
                  {
                      return typeof(SugarTable);
                  }
                  return _EntityNameServiceType;
              }
              set
              {
                  _EntityNameServiceType = value;
              }
          }
      }
  }