《你必须掌握的Entity Framework 6.x与Core 2.0》勘误

第5章 5.1.1----致谢网友【宪煌】

public virtual ICollection Post {get;set;}  
修改为
public virtual ICollection<Posts> Post {get;set;}  

第3章 3.2.1(P95 3 原始查询第四行)----致谢园友【cainong2001】

我们可以通过SqlQurey方法来进行原始查询。

修改为

我们可以通过SqlQuery方法来进行原始查询。

第2章 2.4.2(P43  顶部)----致谢园友【张四海】

public byte Quanatity {get;set;}  
修改为
public byte Quantity {get;set;}  

第2章 2.2.4(P15  顶部)----致谢园友【STM85】

modelBuilder.ComplexType(Address)();
修改为
modelBuilder.ComplexType<Address>()

第一篇完结 (P134 第一段话结尾)----致谢园友【张四海】

性能会更加 -》 性能会更佳

posted @ 2018-06-16 12:40  Jeffcky  阅读(2228)  评论(28编辑  收藏  举报