1.Error: The invoked member is not supported in a dynamic assembly.
修改: EFProviderWrapperToolkit\EntityConnectionWrapperUtils.cs (184 ) ParseResources
添加: if (asm.GetType().FullName != "System.Reflection.RuntimeAssembly") continue;
2.Error: 缓存的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;
}