Wednesday, April 03, 2013

Walt's Words of Wisdom - "Entity Framework"

To know:

If you ware working with Entity Framework be sure to know the following...  Thank you Sir Walt.

1. If you are developing for 4.0 ensure all your projects in your solution are set to the same Framework
2. Install by right clicking the project and Manager NuGet Packages and install Entity Framework (Yes Nuget is smart enough to put the correct version, but to verify do the following. Do this for all projects in yoru solution (It will prevent headaches later).

Look at your App.config or Web.config and look for

.NET 4.0 =  EntityFramework, Version=4.4.0.0
.NET 4.5 =  EntityFramework, Version=5.0.0.0

No comments: