Using Entity Framework Power Tools Beta 2 extension, it generates model classes with the following imports:
using System.Data.Entity.Infrastructure;
What reference do I need to include into my project using Visual Studio 2010?
Currently, I have the following References:
And in the Add Reference dialog I have the following:
A DbSet represents the collection of all entities in the context, or that can be queried from the database, of a given type. DbSet objects are created from a DbContext using the DbContext.
Don't add EF lib via "Add reference" dialog (it's old version) You need to add NuGet package "EntityFramework" of latest version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With