The POCO Entity Generator can be used to generate a strongly-typed ObjectContext 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. Consider using the DbContext GeneratorThe DbContext Generator is now the recommended template for generating POCO classes in new applications. The DbContext Generator takes advantage of the new DbContext API and can generate simpler POCO classes. The POCO Entity Generator continues to be available to support existing applications. Need help? |