微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

JetBrains dotPeek IDE无法反编译Entity Framework select语句的代码

如何解决JetBrains dotPeek IDE无法反编译Entity Framework select语句的代码

我有一个包含.NET实体框架代码的dll。我正在尝试从给定的dll生成代码。我正在使用JetBrains dotpeek这样做。但是部分代码无效,我无法猜测实际上可能是正确的源代码

这是无效的代码

ParameterExpression parameterExpression;
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            // ISSUE: method reference
            System.Collections.Generic.List<PayrollRightsObligationDTOS> list = this.dbContext.PayrollRightsObligations.Select<PayrollRightsObligation,PayrollRightsObligationDTOS>(Expression.Lambda<Func<PayrollRightsObligation,PayrollRightsObligationDTOS>>((Expression) Expression.MemberInit(Expression.New(typeof (PayrollRightsObligationDTOS)),(MemberBinding) Expression.Bind((MethodInfo) MethodBase.getmethodFromHandle(__methodref (PayrollRightsObligationDTOS.set_PayrollROId)),)))); //unable to render the statement
            

请让我知道如何获取等效的正确代码

谢谢。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。