实体框架调试存储过程的错误

时间:2014-01-06 12:12:07

标签: c# asp.net entity-framework

我在我的项目中使用EF 6.0,并将我的数据库模型添加为DLL。

当我使用F10调试我的项目时,它会发出“未处理的错误win32异常发生w2wp.exe [6516]”

但是当我用F5进行调试时,它运行得很好。任何人都可以帮助解决这个错误。

var TourPrices = db.GetNetPriceTransfer(25, 2, '01/10/2014').ToList<NewNetPriceTransfer_Result>();

public partial class NewNetPriceTransfer_Result
{
    public Nullable<decimal> PrivateTourPricing_PricePerPassengerNet { get; set; }
    public Nullable<int> PrivateTourPricing_CurType { get; set; }
    public double Rate_Amount { get; set; }
    public int ChildType1_To { get; set; }
    public int ChildType1_FM { get; set; }
    public double ChildType1_Net { get; set; }
    public int ChildType2_FM { get; set; }
    public int ChildType2_To { get; set; }
    public double ChildType2_Net { get; set; }
}

0 个答案:

没有答案
相关问题