h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Entity Framework 6.0 Namespace

Entity Framework 6.0

  • Microsoft.Data.Entity.Design 
  • Microsoft.Data.Entity.Design.CodeGeneration 
  • Microsoft.Data.Entity.Design.DatabaseGeneration
  • Microsoft.Data.Entity.Design.DatabaseGeneration.Activities
  • Microsoft.Data.Entity.Design.DatabaseGeneration.OutputGenerators
  • Microsoft.Data.Entity.Design.Extensibility 
  • Microsoft.Data.Entity.Design.Templates 
  • Microsoft.Data.Entity.Design.UI.Views.Explorer 
  • Microsoft.Data.Entity.Design.VisualStudio.ModelWizard
  • Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator
  • Microsoft.Data.Entity.Design.VisualStudio.TextTemplating
  • System.ComponentModel.DataAnnotations.Schema 
  • System.Data.Entity 
  • System.Data.Entity.Core 
  • System.Data.Entity.Core.Common 
  • System.Data.Entity.Core.Common.CommandTrees
  • System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
  • System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial
  • System.Data.Entity.Core.Common.EntitySql 
  • System.Data.Entity.Core.EntityClient 
  • System.Data.Entity.Core.Mapping 
  • System.Data.Entity.Core.Metadata.Edm 
  • System.Data.Entity.Core.Objects 
  • System.Data.Entity.Core.Objects.DataClasses 
  • System.Data.Entity.Infrastructure 
  • System.Data.Entity.Infrastructure.Annotations 
  • System.Data.Entity.Infrastructure.DependencyResolution 
  • System.Data.Entity.Infrastructure.MappingViews 
  • System.Data.Entity.Infrastructure.Pluralization 
  • System.Data.Entity.Migrations 
  • System.Data.Entity.Migrations.Builders 
  • System.Data.Entity.Migrations.Design 
  • System.Data.Entity.Migrations.History 
  • System.Data.Entity.Migrations.Infrastructure 
  • System.Data.Entity.Migrations.Model 
  • System.Data.Entity.Migrations.Sql 
  • System.Data.Entity.Migrations.Utilities 
  • System.Data.Entity.ModelConfiguration 
  • System.Data.Entity.ModelConfiguration.Configuration
  • System.Data.Entity.ModelConfiguration.Conventions 
  • System.Data.Entity.Spatial 
  • System.Data.Entity.SqlServer 
  • System.Data.Entity.SqlServerCompact 
  • System.Data.Entity.Validation 
  • XamlGeneratedNamespace

Entity Framework 6.0 Features

  1. Async Query and Save adds support for the task-based asynchronous patterns that were introduced in .NET 4.5. 
  2. Connection Resiliency enables automatic recovery from transient connection failures. 
  3. Code-Based Configuration gives you the option of performing configuration – that was traditionally performed in a config file – in code. 
  4. Dependency Resolution introduces support for the Service Locator pattern and we've factored out some pieces of functionality that can be replaced with custom implementations. 
  5. Interception/SQL logging provides low-level building blocks for interception of EF operations with simple SQL logging built on top. 
  6. Testability improvements make it easier to create test doubles for DbContext and DbSet when using a mocking framework or writing your own test doubles. 
  7. DbContext can now be created with a DbConnection that is already opened which enables scenarios where it would be helpful if the connection could be open when creating the context (such as sharing a connection between components where you can not guarantee the state of the connection). 
  8. Improved Transaction Support provides support for a transaction external to the framework as well as improved ways of creating a transaction within the Framework.
  9.  Enums, Spatial and Better Performance on .NET 4.0 - By moving the core components that used to be in the .NET Framework into the EF NuGet package we are now able to offer enum support, spatial data types and the performance improvements from EF5 on .NET 4.0.
  10.  Improved performance of Enumerable.Contains in LINQ queries. Improved warm up time (view generation), especially for large models.