locked
Following Model Casuing Scaffolding to crash RRS feed

  • Question

  • User-2000903369 posted

    For some reason the following model is causing the scaffolding templates to crash it is not giving me an error just the visual studio 2017 dialog stooped responding and then crashes out.

    It produces no errors and I checked the event log couldnt see anything linking to scafollding

    Also are their any scaffolding templates that output Bootstrap comp table forms ?.

     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
        }
    }
     

    Monday, September 25, 2017 7:26 PM

All replies