摘要:Eager Loading: Eager loading is the process whereby a query for one type of entity also loads related entities as part of the query. Eager loading is 阅读全文
Entity Framework Tutorial Basics(35):Local Data
2016-07-07 10:51 by 追忆似水流年, 225 阅读, 0 推荐, 收藏, 编辑
摘要:Local Data The Local property of DBSet provides simple access to the entities that are currently being tracked by the context, and have not been marke 阅读全文
Entity Framework Tutorial Basics(34):Table-Valued Function
2016-07-07 10:47 by 追忆似水流年, 221 阅读, 0 推荐, 收藏, 编辑
摘要:Table-Valued Function in Entity Framework 5.0 Entity Framework 5.0 supports Table-valued functions of SQL Server. Table-valued functions are similar t 阅读全文
Entity Framework Tutorial Basics(33):Spatial Data type support in Entity Framework 5.0
2016-07-07 10:41 by 追忆似水流年, 190 阅读, 0 推荐, 收藏, 编辑
摘要:Spatial Data type support in Entity Framework 5.0 MS SQL Server 2008 introduced two spatial data types, geography and geometry. Geography represents d 阅读全文
Entity Framework Tutorial Basics(32):Enum Support
2016-07-07 10:40 by 追忆似水流年, 156 阅读, 0 推荐, 收藏, 编辑
摘要:Enum in Entity Framework: You can now have an Enum in Entity Framework 5.0 onwards. EF 5 should target .NET framework 4.5 in order to use Enum. Enum c 阅读全文
Entity Framework Tutorial Basics(31):Migration from EF 4.X
2016-07-07 10:38 by 追忆似水流年, 157 阅读, 0 推荐, 收藏, 编辑
摘要:Migration from Entity Framework 4.1/4.3 to Entity Framework 5.0/6.0 To migrate your existing Entity Framework 4.x project to Entity Framework 5.0 usin 阅读全文
Entity Framework Tutorial Basics(30):
2016-07-07 10:36 by 追忆似水流年, 156 阅读, 0 推荐, 收藏, 编辑
摘要:CRUD using Stored Procedure: In the previous chapter, we have seen how to get data using a stored procedure. In this chapter, we will use stored proce 阅读全文
Entity Framework Tutorial Basics(29):Stored Procedure in Entity Framework
2016-07-07 10:33 by 追忆似水流年, 186 阅读, 0 推荐, 收藏, 编辑
摘要:Stored Procedure in Entity Framework: Entity Framework has the ability to automatically build native commands for the database based on your LINQ to E 阅读全文
Entity Framework Tutorial Basics(28):Concurrency
2016-07-07 10:30 by 追忆似水流年, 218 阅读, 0 推荐, 收藏, 编辑
摘要:Concurrency in Entity Framework: Entity Framework supports Optimistic Concurrency by default. In the optimistic concurrency, EF saves the entity to th 阅读全文
Entity Framework Tutorial Basics(27):Update Entity Graph
2016-07-07 10:28 by 追忆似水流年, 277 阅读, 0 推荐, 收藏, 编辑
摘要:Update Entity Graph using DbContext: Updating an entity graph in disconnected scenario is a complex task. It is easy to add a new entity graph in disc 阅读全文