Biztalk 2010 ESB行程自定义解析器和实体框架连接

时间:2012-11-23 07:26:15

标签: biztalk esb

我创建了一个自定义解析器并使用实体框架4.0使用数据访问层从数据库获取数据,实体框架连接字符串保存在BTSNtsvc.exe.config文件中

<add name="MadagascarDbEntities" 
    connectionString="metadata=res://*MadDb.csdl|res://*/MadDb.ssdl|res://*/MadDb.msl;provider=System.Data.SqlClient;provider 
    connection string=&quot;data source=ttttt;initial catalog=MadagascarDb;persist security info=True;user id=eeeee;password=xxxxxx;multipleactiveresultsets=True;App=EntityFramework&quot;" 
    providerName="System.Data.EntityClient" />

但是我收到了以下错误...

The invoked member is not supported in a dynamic assembly. 
Source: Microsoft.Practices.ESB.Resolver.ResolverMgr 
Method: System.Collections.Generic.Dictionary`2[System.String,System.String] Resolve(Microsoft.Practices.ESB.Resolver.ResolverInfo, Microsoft.BizTalk.Message.Interop.IBaseMessage, Microsoft.BizTalk.Component.Interop.IPipelineContext) 
Error Source: mscorlib 
Error TargetSite: System.IO.Stream GetManifestResourceStream(System.String) 
Error StackTrace: at System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceStream(String name)

任何线索?

感谢您的帮助

0 个答案:

没有答案