update 增加了查询分析详情页的文件

This commit is contained in:
2021-07-01 11:02:18 +08:00
parent 653b5b34eb
commit 40d7bef357
14 changed files with 156 additions and 40 deletions

View File

@@ -168,6 +168,7 @@ namespace Ewide.EntityFramework.Core
base.OnModelCreating(modelBuilder);
if (App.HostEnvironment.EnvironmentName == "Testing") return;
//集成测试下面代码会报错
#if DEBUG
XmlSerializerUtil xmlHandler = new XmlSerializerUtil();
Dictionary<Type, object> dic = xmlHandler.ReaderALL();
foreach (KeyValuePair<Type, object> item in dic)
@@ -183,6 +184,7 @@ namespace Ewide.EntityFramework.Core
}
modelBuilder.Entity(item.Key).HasData(data);
}
#endif
}
}
}