Entity Framework 6.0 Tutorials(1):Introduction

追憶似水流年發表於2016-07-07

以下系統文章為EF6.0知識的介紹,本章是第一篇

原文地址:http://www.entityframeworktutorial.net/entityframework6/introduction.aspx

-------------------------------------------------------------------------------------------------------------

Entity Framework 6.0 Introduction:

Welcome to Entity Framework 6 Tutorials section. Here, you will learn about the new features introduced in Entity Framework 6.0 with Visual Studio 2012.

Entity Framework 6.0 has introduced many new exciting features for Database-First (designer) and Code-First approaches.

Features for Database First (Designer) and Code-First Both:

  • Connection resiliency
  • Asynchronous query and save
  • Code-based configuration
  • Database command logging
  • Database command interception
  • Dependency Resolution
  • DbSet.AddRange/RemoveRange
  • Better Transaction Support
  • Pluggable pluralisation and singularization service
  • Testability improvements
  • Creating context with an open connection
  • Improved performance and warm-up time

Features for Code-First:

  • Custom conventions
  • Insert, update & delete stored procedures for entity CUD operation
  • Index attribute (EF 6.1)
  • Multiple context per database
  • Nested entity types
  • Custom migration operations
  • Configurable migration history table

Visit MSDN for detailed information on EF 6.x.

Click Next to learn some features of Entity Framework 6.x.

相關文章