Friday, January 16, 2015

Upgrading from Entity Framework 5 to Entity Framework 6

I have some applications that I have been developing for a few years that have been using Entity Framework 5 so I decided to finally refresh them and update/upgrade them to using Entity Framework 6.

Well, fortunately, the upgrade was relatively painless.

Whereas in Entity Framework v. 5.0, I had the following namespaces:

using System.Data.EntityClient;
using System.Data.Objects;


I simply had to change these to the following for Entity Framework v. 6.0:

using System.Data.Entity.Core.EntityClient;
using System.Data.Entity.Core.Objects;


That was pretty much all there was to it!!

No comments:

Post a Comment