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

@sjh37 sjh37 released this Mar 15, 2019 · 3 commits to master since this release

  • #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.
Assets 2

@sjh37 sjh37 released this Oct 2, 2018 · 15 commits to master since this release

  • 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.
Assets 2

@sjh37 sjh37 released this Jul 19, 2018 · 32 commits to master since this release

  • #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.
Assets 2

@sjh37 sjh37 released this Jul 17, 2018 · 35 commits to master since this release

  • #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.
Assets 2

@sjh37 sjh37 released this Feb 27, 2018 · 115 commits to master since this release

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

@sjh37 sjh37 released this Feb 26, 2018 · 118 commits to master since this release

  • #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.
Assets 2

@sjh37 sjh37 released this Jan 10, 2018 · 134 commits to master since this release

  • #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.
Assets 2

@sjh37 sjh37 released this Nov 30, 2017 · 150 commits to master since this release

  • #354 Stop using C# 7 syntax in tt file as this is not supported by VS2015 or below. Thanks to bbieb.
Assets 2

@sjh37 sjh37 released this Nov 28, 2017 · 152 commits to master since this release

  • #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;
Assets 2
You can’t perform that action at this time.