Friday, 15 March 2013

EntityFramework Reverse POCO Code First Generator v1.4.1 released

Reverse engineers an existing database and generates EntityFramework Code First POCO classes, Configuration mappings and DbContext.

v1.4.1 includes these new features:

  • If a field has a default contrainst of GetDate(), add DateTime.Now() in the ctor for the field.
  • Add support for the datetimeoffset type, including support for the default constraint sysdatetimeoffset().
  • Add Resharper naming comments.
  • Mapping classes are marked internal.
  • Make sure Foreign keys map only to Primary keys.
To see a video, head over to http://visualstudiogallery.msdn.microsoft.com/ee4fcff9-0c4c-4179-afd9-7a2fb90f5838