Releases: sjh37/EntityFramework-Reverse-POCO-Code-First-Generator
Releases · sjh37/EntityFramework-Reverse-POCO-Code-First-Generator
v2.37.4
v2.37.3
- #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
- 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
v2.37.0
- #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
v2.36.0
- #373 Generate DbFunction attributes on tvfs in interface. Thanks to Tim Sirmovics.
- #29 Correct Grammar: EnumsDefinitions to EnumDefinitions. Thanks to jxmiller.
- #377 Call DisposePartial() when disposing context. Thanks to Gregor Rudolf.
- #379 Allow Table Valued Functions to use nullable parameters. Thanks to oruchreis.
- Remove C# 7 compiler only features.
- Remove use of UseDataAnnotationsSchema, and simply rely on UseDataAnnotations flag.
- ForeignKey enhancements.
v2.35.0
- #359 Synonym foreign keys and stored procedures. Thanks to Tim Sirmovics.
- #355 Synonym tests. Thanks to Tim Sirmovics.
- #357 Add command timeout to settings. Thanks to hidegh.
- Sort stored procedures and table valued functions to keep your changesets to a minimum.
- #307 Add partial to IDbContextFactory if required. Thanks to StevenBonePgh.
- #369 Do not print configuration file if it is blank. Thanks to Tim Sirmovics.
- Always include fluent FK mapping even if only using data annotations.
v2.34.1
v2.34.0
- #338 Missing using in configuration files. Thanks to Keith Davidson.
- #343 Added support for newsequentialid identity insert. Thanks to David Bérubé.
- #342 Handle line breaks in extended properties. Thanks to ThDoor.
- #331 Entities with computed columns do not validate when UseDataAnnotations = true. Thanks to Staff0rd.
- #349 Eliminate generation of AdditionalContextInterfaceItems in FakeDBContext. Thanks to Jon Davis.
- #352 Fix to handle line break in table description. Thanks to rdrscan.
- #353 Missing using in configuration files. Thanks to hossein-abdn.
- Include Table Valued Function tests.
- Added test for a table with no primary keys.
- Changed configuration to use a Settings class.
- Turn off UseDataAnnotationsSchema if UseDataAnnotations = false;