The DbContext Generator can be used to generate a strongly-typed DbContext class and persistence ignorant entity classes from an Entity Framework model created using the EF Designer. Once installed, you can right-click on the EF Designer surface and select "Add Code Generation Item..." from the menu. Use this template when working with an EF 4.x release. Need help? |