Author Archives: Arthur Vickers

About Arthur Vickers

Developer on the Entity Framework team at Microsoft.

EF6 release dates…or lack thereof

On the EF team we frequently get questions along the lines of, “when will the next version of EF be released?” This is an entirely reasonable question to ask and it is frustrating to me personally that I cannot answer … Continue reading

Posted in Entity Framework | Tagged | 9 Comments

Database initializer and Migrations Seed methods

Entity Framework contains two different methods both called Seed that do similar things but behave slightly differently. The first was introduced in EF 4.1 and works with database initializers. The second was introduced in EF 4.3 as part of Code … Continue reading

Posted in Code First, Code First Migrations, Database Initializers, DbContext API, Entity Framework | Tagged , , , , , , , , | Leave a comment

EF6 SQL Logging – Part 3: Interception building blocks

In parts 1 and 2 of this series we looked at how to use DbContext.Database.Log to log the SQL generated by EF. But this code is actually a relatively thin façade over some low-level building blocks for interception in general … Continue reading

Posted in DbContext API, Entity Framework | Tagged , , | 2 Comments

EF6 SQL Logging – Part 2: Changing the content/formatting

In part 1 we saw how DbContext.Database.Log can be used to easily log SQL to the console or some other TextWriter. This post covers how the context and formatting of the output can be changed.

Posted in DbContext API, Entity Framework | Tagged , , | 5 Comments

EF6 SQL Logging – Part 1: Simple Logging

On the EF team we made a late decision to add some support for interception and logging of generated SQL in EF6. To this end recent checkins have added support for: A Log property for the context similar to DataContext.Log … Continue reading

Posted in DbContext API, Entity Framework | Tagged , , | 8 Comments

EF6: Nested types and more for Code First

Ever since POCO support was introduced in EF4 there have been two limiting restrictions on the types that can be mapped: Types nested inside other types were not supported Types were matched by simple names only Some recent check-ins to … Continue reading

Posted in Code First, Entity Framework | Tagged , , | 1 Comment

EF enums and spatial types on .NET 4

In EF5 some features (such as enums and spatial types) are only available when targeting .NET 4.5. This is because EF5 relies on core EF libraries in the .NET Framework. With EF6 this changes because the core EF code is … Continue reading

Posted in Entity Framework, Open Source | Tagged , , | 4 Comments

EF6 Extensibility and Configuration

Introduction I just published two posts to the Entity Framework CodePlex site that cover some changes we are making to EF6 to improve extensibility and code-based configuration. These posts provide conceptual overviews of the features with relevant design and implementation … Continue reading

Posted in Entity Framework, Extensibility, Open Source | Tagged , | 3 Comments

So you want to contribute to EF? Part 5: High-level architecture

This is the fifth part of a series providing some background to those who may want make contributes to the Entity Framework. In this post I’ll give an extremely high-level overview of the EF architecture.

Posted in Open Source | Tagged , , | 3 Comments

So you want to contribute to EF? Part 4: Developer experience

This is the fourth part of a series providing some background to those who may want make contributes to the Entity Framework. In this post I’ll talk a bit about maintaining a good experience for the developers who use EF.

Posted in Entity Framework, Open Source | Tagged , , | Leave a comment