
MVC .Net Cascade在使用EF Code First Approach时删除
我对MVC很新,我有级联删除的麻烦.对于我的模型我以下2个类: public class Blog { [Key] public int Id { get; set; } [Required] public string Name { get; set; } [DisplayFormat()]
我对MVC很新,我有级联删除的麻烦.对于我的模型我以下2个类: public class Blog { [Key] public int Id { get; set; } [Required] public string Name { get; set; } [DisplayFormat()]