07 2017 档案

摘要:Referenced file contains errors (http://Java.sun.com/xml/ns/j2ee/web-app_2_5.xsd). For more information, right click on the message in the Problems Vi 阅读全文
posted @ 2017-07-25 10:36 好吧的啊 阅读(2583) 评论(0) 推荐(0)
摘要:从表面上没啥区别,当你访问这个类时,public int A{get { return a; }set { a = value; }}只能通过类.A而public int a { get; set; }通过类.a即可public string a { get; set; }和公有字段没多大区别了,没 阅读全文
posted @ 2017-07-14 10:13 好吧的啊 阅读(206) 评论(0) 推荐(0)
摘要:使用ef 表关联主外键,查询的时候并没有include 查询出外联表,ef会延迟加载外联表,底层方法返回后DbContext释放,导致此错误信息。 1.可以自建立model 然后toList(); 2.using(DbContext db=new DbContext()){ //加入 db.Conf 阅读全文
posted @ 2017-07-08 18:09 好吧的啊 阅读(520) 评论(0) 推荐(0)