Cannot Create()/Edit() record due to Validation?
问题 My Inventory Tracking program has a main class called INV_Assets . This includes [ForeignKey] fields for several child tables including INV_Locations : [Required] public int Location_Id { get; set; } [ForeignKey("Location_Id")] public virtual INV_Locations Location { get; set; } Now then, on my Create()/Edit() action methods for INV_Assets I am filling a ViewData[] element with a SelectList to be used on the View (this Select List combines 2 of my INV_Locations fields into one within the