update 增加了查询分析详情页的文件
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user