Skip to content
| Marketplace
Sign in
Visual Studio>Templates>EF 4.x DbContext Fluent Generator for C#
EF 4.x DbContext Fluent Generator for C#

EF 4.x DbContext Fluent Generator for C#

I.Fle

|
17,643 installs
| (8) | Free
A project item to generate Entities, DbContext and Fluent mapping classes.
Download

ADO.NET C# DbContext Fluent Generator is a T4 template that can be used to generate entities, DbContext and mapping classes (Fluent API) in a C# project.  The Code FirstFluent API to take care of the places where the Code First conventions need to be overridden to get correct mappings. Once installed, you can right-click on the EDM Designer surface and select "Add Code Generation Item..." from the menu.

Starting with the 1.0.1.7 version the ADO.NET DbContext Fluent Generator templates have been renamed to EF 4.x DbContext Fluent Generator.

The new version of the DbContext Fluent Generator for the Visual Studio 2012 RC is now available.
/vsgallery/5d663b99-ed3b-481d-b7bc-b947d2457e3c

 

Donate

Revision Notes

  • 1.0.1.1
    • Fixed unicode bug in the mapping generator.
  • 1.0.1.2
    • Fixed and improved the mapping generator
    • Added : supporting of the Table Per Hierarchy Inheritance
    • Thanks a lot to zl1 and Rei Wang for suggestions
  • 1.0.1.3
    • Fixed the Table Per Hierarchy Inheritance mapping (thanks to Rei Wang).
    • Improved the identity field mapping (thanks to zl1)
  • 1.0.1.4
    • Fixed the NRE in the mapping generator (thanks to rexxiang).
  • 1.0.1.5
    • Fixed a problem with migrations using a mapping in a inheritance cenario. (thanks to  jvitor83).
  • 1.0.1.7
    • Fixed a problem with more than one mapping. (thanks to  Ignacio Calvo).
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft