This project has moved and is read-only. For the latest updates, please go here.

Using with EF 5 and an Object Context

May 8, 2015 at 12:08 AM
I am getting an error that says EF 4 and 5 Code First not supported trying to use the bulk insert with a project that uses EF 5 and the ObjectContext. Here is the code I am using:

var ctx = new System.Data.Entity.DbContext(Repository.GetObjectContext(), false);

I assumed since there is a Nuget package for EF 5 that I can make use of the bulk insert on an EF project. Any suggestions?