EF 5.x DbContext Generator for C# Web SitesFree
A project item to generate a strongly-typed DbContext class and persistence ignorant entity classes. Use this template when working with an EF 5.x release.
Sign in to write a review
Not generating flags attributes like [REQUIRED] or [KEY] on fields. Why not? If this is supposed to automate code generation from a DB, and MVC4 will scaffold the information out of the box when creating a new controller... why, exactly, would we want to have to customize something that out of the box wants to insert a PK back into a DB when it's declared in the DB as auto-increment, not null, IDENTITY.