EntityFramework Reverse POCO Code First Generator Versions Save

EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully customisable. This generator creates code as if you reverse engineered a database and lovingly created the code by hand. It is free to academics (you need a .edu or a .ac email address), not free for commercial use. Obtain your licence from

v3.9.0

6 months ago
  • #817 Added support for EFCore 8.
  • #813 Added support for remote database synonyms where tables have a trigger.
  • Deprecated EFCore 2 and 5. See Support planning for information on retirements.

v3.8.4

11 months ago
  • #807 Correct SQL for Azure stored procedures
  • #805 IDbContext not including System.Data namespace. Thanks to Greg Bartlett.
  • EF6 - Check for Spatial types and include System.Data.Entity.Spatial

v3.8.3

1 year ago
  • Improved support for SQLite.
  • Speeded up adding in a generator .tt settings file by not trying to immediately open a not yet defined database.

v3.8.2

1 year ago
  • #736 Better PostgreSQL types support. Thanks to uyau.
  • #568 Add support for SQLite. Thanks to Statler.
  • #741 IncludeFieldNameConstants. Thanks to MarkLFT
  • #693 Support for temporal tables. Thanks to FaizulHussain
  • #802 Use .HasTrigger() for tables with computed columns for EF Core 7. Thanks to MarkLFT
  • Add installation support for Visual Studio running on a MacOS using Parallels.

v3.8.1

1 year ago
  • #786 Settings.UseLazyLoading = false by default. Thanks to Neal Culiner.
  • #782 Add support for memory-optimised tables.
  • Added a file audit service. You will now see a new file generated each time you save the <database>.tt file. This audit file is used to record which files were generated and at what time. Please do not edit this file as it is used to delete files that may get filtered out during the next run. Audit files are named <database>Audit.txt.
  • #774 Optional parameters in stored procedure. Thanks to @NeilN1
  • #791 Add support for FileBasedEf6 templates. Thanks to @Techhead33
  • #793 Do not use builder.HasKey on derived types where the PK columns are hidden. Thanks to Måns Tånneryd.
  • #780 Filter sequences to just those required. Thanks to @MarkLFT

v3.8.0

1 year ago
  • Added support for EF Core 7. This update will now check for database triggers and identify these tables to EF Core 7. EF Core 7 will generate more efficient SQL that is faster to execute but is not compatible if a trigger is on the table. If EF 7 knows there is a trigger on the table, it will revert to using standard SQL (as generated by EF Core 6).
  • Fix for non-PascalCased foreign keys ending in _id. Thanks to Bryan Tichy.
  • Include call to .UseLazyLoadingProxies() if Settings.UseLazyLoading = true. Please install the Microsoft.EntityFrameworkCore.Proxies NuGet package.

v3.7.0

1 year ago
  • #765 Exclude .HasColumnType for user-defined types such as Postgres PostGIS. Thanks to @afust003
  • #769 Using stored procedure OUT parameters with multiple result sets.
  • Bug fix - Non-pascal casing could potentially leave a hanging symbol. Thanks to Bryan Tichy.
  • Display name enhancements.
  • Remove DefaultCollation setting.
  • Append ";Encrypt=false;TrustServerCertificate=true" to the connection string.
  • Corrected grammar in comments.

v3.6.1

1 year ago
  • #754 Exclude mobelBuilder command if table valued function declared in StoredProcedureReturnTypes. Thanks to erwin-faceit.
  • #753 Fix for ROWVERSION and TIMESTAMP columns. Thanks to Neal Culiner.
  • #762 Auto generate the standard templates that can be customised. If you want to fully customise your output you can use custom templates. The standard ones used within the generator are now generated and placed in this folder. More info available here. Thanks to rebeccapowell.
  • #748 Generate a property type as a Enumeration from a foreign key. Thanks to James00-Fast.

v3.6.0

2 years ago
  • Now supports EFCore 6
  • #739 Add ability to automatically add enum tables programatically. See AddEnum() callback. Read the Wiki here.
  • #389 Generate files in sub-folders. This has been a long awaited for feature!
  • #727 Add categories to unit tests and separate tests by db type.
  • #726 Add PostgreSQL for creating northwind database.

v3.5.0

2 years ago
  • Now supports VS2022
  • #712 Added Settings.TrimCharFields option to TrimEnd() of 'char' fields. Thanks to Peterhup.
  • Added database provider to optionsBuilder
  • Add UsePascalCase setting for Enum members. Thanks to Alexandr Makhin.
  • #719 Add UsePascalCase setting for Enum members. Thanks to Alexandr Makhin.
  • #714 Update Postgres table sql
  • #692 partial class modifier wrong in FakeQueryProvider<T> Thanks to FaizulHussain.
  • #725 Allow the use of HiLo for identity columns. Thanks to MarkLFT.
  • #716 One to one relationship had incorrect name on Configuration generation. Thanks to FaizulHussain.
  • #412 Add fix for Rider extra newlines in generated output.