Exemplo n.º 1
0
 static ChloeContent()
 {
     if (TableConfig == null)
     {
         TableConfig = (List <TableConfiguration>)SerializerXml.LoadSettings(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TableConfig.xml"), typeof(List <TableConfiguration>));
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 初始化配置
 /// </summary>
 static DP()
 {
     if (config == null)
     {
         config = (List <TableConfiguration>)SerializerXml.LoadSettings(@"E:\01技术研究\ORM\TYSystem.Dapper\Dapper.Test\bin\Debug\TableConfig.xml", typeof(List <TableConfiguration>));
     }
 }