Diego Vega

Entity Framework news and sporadic epiphanies

Workaround for performance with Enumerable.Contains and non-Unicode columns against EF in .NET 4.0

This week we announced the availability of EF6 alpha 2 (read the announcement post in our blog and...

Author: Diego B Vega [MSFT] Date: 12/12/2012

Tips to avoid deadlocks in Entity Framework applications

UPDATE: Andres Aguiar has published some additional tips on his blog that you may also find helpful...

Author: Diego B Vega [MSFT] Date: 03/31/2012

Exception from DbContext API: EntityConnection can only be constructed with a closed DbConnection

UPDATE: After I posted this article we found that the plan we had to enable the pattern with...

Author: Diego B Vega [MSFT] Date: 01/25/2012

Why Entity Framework vNext will be EF5 and nothing else

This post touches on some history and on how different rationales have driven versioning of the...

Author: Diego B Vega [MSFT] Date: 01/14/2012

Stored procedures with output parameters using SqlQuery in the DbContext API

The DbContext API introduced in Entity Framework 4.1 exposes a few methods that provide pass-through...

Author: Diego B Vega [MSFT] Date: 01/09/2012

Self-Tracking Entities: ApplyChanges and duplicate entities

Some customers using the Self-Tracking Entities template we included in Visual Studio 2010 have ran...

Author: Diego B Vega [MSFT] Date: 10/05/2010

Wrapped System.IO.FileNotFoundException with Entity Framework POCO and Self-Tracking Entities T4 Templates

Visual Studio 2010 and .NET 4.0 were released on Monday! The Self-Tracking Entities template is...

Author: Diego B Vega [MSFT] Date: 04/14/2010

EF Design Post: POCO template generation options

It has been some time since the last time my team posted anything to the Entity Framework Design...

Author: Diego B Vega [MSFT] Date: 03/10/2010

What would you like to see in Entity Framework vNext?

With Visual Studio 2010 and .NET 4.0 very close to RTM, many of us in the team are spending more and...

Author: Diego B Vega [MSFT] Date: 02/11/2010

Entity Framework and Data Services Teams are Hiring

Just a quick note on this: Our team is hiring! If you think you have the skills and the will to...

Author: Diego B Vega [MSFT] Date: 02/04/2010

Entity Framework Feature CTP 2

We have just released a new version of the Feature CTP that works on top of Visual Studio 2010 Beta...

Author: Diego B Vega [MSFT] Date: 11/04/2009

Standard generated entity classes in EF4

A customer recently asked if there is still any advantage in using the entities that Entity...

Author: Diego B Vega [MSFT] Date: 09/07/2009

WPF databinding with the POCO Template

Update: with the new version of the POCO template available in Visual Studio Gallery (see here for...

Author: Diego B Vega [MSFT] Date: 07/26/2009

Beth Massi on Entity Framework + WPF

I haven’t met Beth in person but I noticed her awesome blog posts and videos focused on using Entity...

Author: Diego B Vega [MSFT] Date: 07/20/2009

Rowan on Entity Framework Events and Alex’s Tips

I don’t post much on my blog lately (too busy working on Entity Framework for .NET 4!), but this...

Author: Diego B Vega [MSFT] Date: 07/07/2009

Third post about POCO, first post about Code Only

It is always busy here with all the improvements we are doing in Entity Framework to make your code...

Author: Diego B Vega [MSFT] Date: 06/10/2009

Server queries and identity resolution

I answered a Connect issue today that deals with a very common expectation for users of systems like...

Author: Diego B Vega [MSFT] Date: 02/24/2009

EntityDataSource and Bind: What are those square brackets?

This post is about a small issue that I have seen in the forums and that arises often in cases in...

Author: Diego B Vega [MSFT] Date: 02/02/2009

Exposing EDM and database server functions to LINQ

Alex published today a description Colin and I wrote on a new feature the team has been working on...

Author: Diego B Vega [MSFT] Date: 10/08/2008

Quick tips for Entity Framework Databinding

One of our customers asked this question yesterday on the Entity Framework forums. There were a few...

Author: Diego B Vega [MSFT] Date: 10/08/2008

Jarek publishes his excellent Entity Framework POCO Adapter

I have been back from vacation for some time but I haven't had time to post anything (i.e. I was on...

Author: Diego B Vega [MSFT] Date: 09/09/2008

Sample Entity Framework Provider for Oracle now Available

This new sample builds on top of System.Data.OracleClient and showcases some techniques a provider...

Author: Diego B Vega [MSFT] Date: 06/23/2008

Entity Framework Sample Provider Updated for SP1 Beta

Just to get the news out: The updated version of the Entity Framework Sample Provider that is...

Author: Diego B Vega [MSFT] Date: 06/03/2008

EntityDataSource's flattening of complex type properties

I explained a few days ago the rules of wrapping in this blog post. But why do we wrap after all?...

Author: Diego B Vega [MSFT] Date: 05/24/2008

Entity Framework Extensions Project Update

Just a couple of links: Colin posted a refresh today today that is compatible with .NET 3.5 SP1 Beta...

Author: Diego B Vega [MSFT] Date: 05/13/2008

EntityDataSource: To wrap or not to wrap

Note: Somehow the <TEntity> generic argument had disappeared from the extension method...

Author: Diego B Vega [MSFT] Date: 05/13/2008

New EntityDataSource Control for ASP.NET

As it was announced today, the EntityDataSource is now part of Entity Framework, and a first beta...

Author: Diego B Vega [MSFT] Date: 05/13/2008

Lazy loading in Entity Framework

Recently, I wrote this little article that got published in the new Insights sidebar in MSDN...

Author: Diego B Vega [MSFT] Date: 05/12/2008

Colin explains a simple LINQ to Relational materializer

Just a short note about this: You can find his article here. I had the chance to see his...

Author: Diego B Vega [MSFT] Date: 04/26/2008

Entity Framework Extensions (EFExtensions) Project available in CodeGallery

When I announced the start of the Entity Framework Toolkits & Extensions section in CodeGallery,...

Author: Diego B Vega [MSFT] Date: 03/27/2008

A different kind of sample

Samir, a developer in the Data Programmability Team started blogging today. He also published a...

Author: Diego B Vega [MSFT] Date: 03/14/2008

Then, should I write a data access layer or not?

Danny and I appear to be giving inconsistent advice on this regard in our recent weekend posts:...

Author: Diego B Vega [MSFT] Date: 03/03/2008

Unit Testing Your Entity Framework Domain Classes

Technorati Tags: Entity Framework,TDD One interesting question customers that are TDD practitioners...

Author: Diego B Vega [MSFT] Date: 03/02/2008

EFContrib: An Entity Framework Community Contribution Project

I got the news today that Ruurd Boeke, a member of the developer community, has created an Entity...

Author: Diego B Vega [MSFT] Date: 02/19/2008

Welcome to the Entity Framework Toolkits & Extensions

Today we went live with something very dear to me: The Entity Framework Toolkits & Extensions....

Author: Diego B Vega [MSFT] Date: 01/25/2008

Some differences between ESQL and LINQ to Entities capabilities

John Papa asks in my comments about some differences among the two query languages. Let's start from...

Author: Diego B Vega [MSFT] Date: 12/20/2007

Entity Framework Beta 3 and Entity Designer CTP2 are out!

Today we made a huge step towards RTM. I know this is no news anymore, but well, it has been one of...

Author: Diego B Vega [MSFT] Date: 12/07/2007

Entity SQL Non-Quirkiness

Zlatko has been posting about one LINQ to Entities new feature included in the upcoming Beta 3, so I...

Author: Diego B Vega [MSFT] Date: 11/27/2007

Choosing an Entity Framework API

Last month, a question was asked in the ADO.NET Prerelease forum that went more or less like this:...

Author: Diego B Vega [MSFT] Date: 11/11/2007

Entity Framework FAQ

One of the best learning resources I have found since I joined my team at Microsoft is this page...

Author: Diego B Vega [MSFT] Date: 11/09/2007

Stretching myself on the wrong axis

Something you need to learn as a Program Manager at Microsoft is how to scale. This mean that you...

Author: Diego B Vega [MSFT] Date: 11/09/2007

This is what happened since 10/23

I was in the kitchen close to my office having a coffee and mulling about what great thing I could...

Author: Diego B Vega [MSFT] Date: 11/05/2007

Hello Data

My name is Diego Vega and I am a new Program Manager in the Data Programmability team. This is my...

Author: Diego B Vega [MSFT] Date: 10/23/2007