模型导致脚手架崩溃

时间:2017-09-24 13:34:00

标签: visual-studio-2017

由于某种原因,以下模型导致脚手架模板崩溃,只是视觉工作室2017对话框弯曲响应然后崩溃,并没有给我一个错误。

它没有产生任何错误,我检查了事件日志无法看到链接到scafollding的任何内容

还有他们的任何脚手架模板输出Bootstrap comp表格吗?。

 public class basketheader

{
    [Key]
    public int id { get; set; }
    public int orderId { get; set; }
    public string title { get; set; }
    public string description { get; set; }
    public string emailBasket { get; set; }
    public decimal basketTotal { get; set; }
    public int currency { get; set; } 
    public bool isDeleted { get; set; }
    public bool isActive { get; set; }
    public DateTime createDated { get; set; }
    public bool isSaved { get; set; }
    public string notes { get; set; }   
    public int basketSessionId { get; set; }     

    public string EnteredBy { get; set; }
    public BasketStatus BasketStatusSetting { get; set; }
    public enum BasketStatus
    {
        Basket=0,
        Order = 1,
        Abandon=2,
        FailedPayment=3,
        Discarded=4
    }
}

篮子线

public class basketlines

    {
        [Key]
        public int id { get; set; }

        public int basketId { get; set; }
        public int productId { get; set; }
        public string productName { get; set; }

        public int qty { get; set; }

        public decimal price { get; set; }

        public decimal lineTotal {get;set;}

        public decimal Total { get { return qty * price; } }


        public bool isVisible { get; set; }

        public bool isDeleted { get; set; }


        public string EnteredBy { get; set; }

    }

我设法在我的事件查看器中发现错误,但不确定它是否与scafool​​ding直接相关

Faulting application name: devenv.exe, version: 15.0.26430.16, time stamp: 0x5968f055
Faulting module name: PresentationCore.ni.dll, version: 4.7.2102.0, time stamp: 0x5937170a
Exception code: 0xc0000005
Fault offset: 0x00245bdb
Faulting process id: 0xaf0
Faulting application start time: 0x01d33538be99ac24
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe
Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\PresentationCore\e455d647c69dde661983d913460fef16\PresentationCore.ni.dll
Report Id: a9a59056-e157-4f3c-a1b2-23a695355c2b
Faulting package full name: 
Faulting package-relative application ID: 

0 个答案:

没有答案
相关问题