摘要: 1. 使用nuget添加MiniProfiler.EF组件 2. 在Global文件中配置MiniProfiler protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.Regis 阅读全文
posted @ 2016-02-01 15:32 BornReady 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 自引用 public class PictureCategory { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public virtual int CategoryId { get; set; } public virt 阅读全文
posted @ 2016-02-01 09:06 BornReady 阅读(248) 评论(0) 推荐(0) 编辑