EntityFramework组件错误
184行前添加: if (asm.GetType().FullName != "System.Reflection.RuntimeAssembly") continue;忽略错误
缓存的Provider 不能执行 存储过程,报 NotSupportedException("Command tree type " + commandTree.GetType() + " is not supported.")
修改: EFCachingProvider\EFCachingCommandDefinition.cs (118) GetAffectedEntitySets
添加:
DbFunctionCommandTree funcTree = commandTree as DbFunctionCommandTree;
if (funcTree != null)
{
//newsea edited!
return;
}
download EF:
http://code.msdn.microsoft.com/EFProviderWrappers/Release/ProjectReleases.aspx?ReleaseId=4747