Skip to content

Releases: sjh37/EntityFramework-Reverse-POCO-Code-First-Generator

v3.1.1

09 Jan 09:50

Choose a tag to compare

  • #571 Support EF.Core spatial types. Thanks to mmisnerms.
  • #570 Remove FakeDbAsyncEnumerable.GetEnumerator() function. Thanks to agentKnipe.
  • #569 Rename stored procedure fix. Thanks to estyfen.
  • #545 Remove adding HasAlternateKey. Thanks to brianrutter.
  • #558 Explain how to disable pluralisation. Thanks to statler.
  • Always write to external files for multi-context generation.
  • Update MultiTable.sql

v3.1.0

09 Dec 20:39

Choose a tag to compare

  • #555 Add support for [Data Annotations]. Thanks to clarghi.
  • #545 Implement HasAlternateKey & enhance HasKey. Thanks to TimSirmovics.
  • #550 Add support for Ef Core 3 HasNoKey() and ToView().
  • #553 Control how the Connection string is used in Generated Code. Thanks to agentKnipe.
  • #536 .Net Core now deletes filtered out files
  • #551 Add comment about AddParameterlessConstructor. Thanks to 0xced.
  • Correct bug with TableSuffix and EF6 Indexes
  • Include more filtering examples
  • Include comments for setting table.BaseClasses

v3.0.8

18 Nov 23:15

Choose a tag to compare

Version 3 is finally here

Re-written from the ground up, and years in the making.

Now supports

  • Entity Framework .NET Core 3
  • Entity Framework .NET Core 2
  • Entity Framework 6
  • {{Mustache}} Templates. Now it's easy to alter the code generation templates. V3 now supports your own custom templates.
  • Multi context generation in a single go (Enterprise feature)
  • No more editing T4 ttinclude files. Now you can edit the generator within a C# project, and have the EF.Reverse.POCO.v3.ttinclude generated for you.
  • SQL Server
  • SQL CE
  • Custom database support provider via Plugin

v2.37.5 Final revision of version 2

18 Nov 18:23

Choose a tag to compare

Tagging the last v2 code before it's replaced with v3.

Last v2 code available below.

v2.37.4

04 Apr 10:30

Choose a tag to compare

  • #495 Add support for VS2019
  • #497 Correct alias casing for case-sensitive SQL server database. Thanks to dagtorgersbraten.

v2.37.3

15 Mar 10:17

Choose a tag to compare

  • #472 Fix null reference exception when logging to output pane. Thanks to qgxcry.
  • Add dbContext constructor that uses objectContext
  • #478 Remove C# 6 interpolated string so it's C# 5 compatible
  • #478 Remove use of nameof() to make code C#5 compatible
  • #485 Add the [Required] attribute on foreign keys when Settings.UseDataAnnotationsWithFluent is true
    Some context: the [Required] attribute must be set on foreign keys in order for OData.NET to properly generate its metadata document with nullable=false, see OData/WebApi#690 Thanks to Cédric Luthi.
  • EF6 - Cannot have a FK to a non-primary key. Thanks to Cédric Luthi.
  • #491 Improving argument validation of AddRelationship. Ability to decline reverse navigation property. Always include reverse navigation. Thanks to Dai.

v2.37.2

02 Oct 15:31

Choose a tag to compare

  • Allow pulling base functions from inherited interface. Thanks to jamil.
  • #452 Problem with case sensitive database. Thanks to mhwlng.
  • #453 datetimeoffset type SQL default function getdate() does not translate. Thanks to Joe Park.
  • Fix #388 static CreateModel can call to a partial implementation. Thanks to StevenBonePgh.
  • #458 Column name 'IS_NULLABLE' does not exist in the target table or view. When Collation is Turkish_CI_AS. Thanks to Irfan Koprucu.
  • #340 DataAnnotations: Inverse Property is not generated. Thanks to jamil.
  • If Settings.ColumnTypeToDataAnnotation is used for Display(Name="") property, skip the default behaviour.
  • #449 Allow pulling base functions from inherited interface. Thanks to jbaig.
  • Adds Mapping Table Rename for when you have two relationships between the same tables. Thanks to jamil.
  • GetHashMethod and GetWithMethod return the correct method names for composite keys. Thanks to David.
  • #465 Duplicate property names when having multiple many-to-many relationships using composite keys. Thanks to jbaig.
  • #467 GetHasMethod and GetWithMethod return the correct method names for composite keys. Thanks to Jehoel.

v2.37.1

19 Jul 16:32

Choose a tag to compare

  • #365 Left a C# 7 feature in the code, which won't work on VS 2015. Thanks to okreka.
  • #447 WriteConnectionSettingComments() is not controlled with includeConnectionSettingComments. Thanks to yyjdelete.

v2.37.0

17 Jul 13:46

Choose a tag to compare

  • #385 Add a test for multiple FK's to a single class.
  • #386 Do not use schema tag for SQL CE. Thanks to ErikEJ and zackhowe.
  • Allow generator to appear in different Visual Studio template folders.
  • #390 AutoMapper unable to cast FakeDbAsyncEnumerable to IQueryable. Thanks to Dominic Hartjes.
  • #392 Changed DbContext default constructor to be public regardless of the MakeClassesInternal setting. Thanks to Lukeatron.
  • Fix to allow geography parameters to be passed to stored procs. Thanks to Matt d'Entremont.
  • Add loging output to output window. Thanks to Marek Kacprzak.
  • Make more extensive use of DataColumn.DataType.Namespace. Resolves an issues where System.DbGeography? is used instead of Microsoft.SqlServer.Types.SqlGeography. Thanks to Matt d'Entremont.
  • Running TVF through FMONLY with "default" for the parameters. Thanks to chris3773.
  • #419 GetSqlDbType missing case numeric. Thanks to krisnatm.
  • #424 Adding Settings.UseDefaultConstructor. Thanks to Jehoel.
  • #425 Adding ability to set the access-modifier on Foreign Key navigation properties. Added example comment. Thanks to Jehoel.
  • #420 Compiler Warning CS0649. Thanks to TimSirmovics.
  • #430 Adding SSDT project based on the Northwind database, including INSERT. Thanks to Jehoel.
  • #432 Views handling. Thanks to Jehoel.
  • #435 Hybrid annotations. Thanks to Jehoel.
  • #438 Access modifiers on types can now be arbitrarily set. Thanks to Jehoel.
  • #443 Temporal table support added. Thanks to Jehoel.

v2.36.1

27 Feb 10:05

Choose a tag to compare

  • #365 Fix remainder of C# 7 compiler issues on old versions of Visual Studio. Thanks to arbh89.