Skip to content

Releases: msawczyn/EFDesigner2022

v4.2.7

19 Jan 11:20
Compare
Choose a tag to compare

4.2.7

  • Support for per-entity inheritance in EF7
  • Added option to generate nullable indicators
  • Added temporal table support for EFCore6 and above. These aren't supported by every database, and you're on your own to know if your database supports them.
  • Arrays of native types can now be used as property types in EFCore8+ projects
  • Aggregate ("owned") types can now be stored as JSON properties in EFCore7+ projects
  • Associations with transient, non-collection objects can be stored as JSON properties in EFCore7+ projects
  • Added support for reverse engineering EFCore v8 assemblies
  • Fixes issue when generating code for properties that have a default enumeration value. Thanks to @equipatuequipo for the pull request.
  • Association classes are back, but only for cases where each side of the many-to-many bidirectional association has a single identity property.
  • Removed EFCore2 and EFCore3 parsers. Those EFCore versions have been obsolete for quite a while. If you need to use them, you can still use the 4.2.5 version of the extension.
  • Constructors with required-but-transient associations no longer have those associations as parameters. If that constructor is needed, add it to the partial class file.
  • Tightened up the concept of transient entities. We're now generating better code for these and the restriction that transient associations must be auto properties has been removed.
  • Entities now update their displays immediately when the Persistent flag is changed.

v4.2.6

16 Dec 23:39
Compare
Choose a tag to compare
  • Support for per-entity inheritance in EF7
  • Arrays of native types can now be used as property types in EFCore8+ projects
  • Aggregate ("owned") types can now be stored as JSON properties in EFCore7+ projects
  • Associations with transient, non-collection objects can be stored as JSON properties in EFCore7+ projects
  • Added support for reverse engineering EFCore v8 assemblies
  • Fixes issue when generating code for properties that have a default enumeration value. Thanks to @equipatuequipo for the pull request.
  • Association classes are back, but only for cases where each side of the many-to-many bidirectional association has a single identity property.
  • Removed EFCore2 and EFCore3 parsers. Those EFCore versions have been obsolete for quite a while. If you need to use them, you can still use the 4.2.5 version of the extension.
  • Constructors with required-but-transient associations no longer have those associations as parameters. If that constructor is needed, add it to the partial class file.
  • Tightened up the concept of transient entities. We're now generating better code for these and the restriction that transient associations must be auto properties has been removed.
  • Entities now update their displays immediately when the Persistent flag is changed.

v4.2.5

31 Jul 14:16
Compare
Choose a tag to compare

4.2.5

  • Adds missing XML documentation for public and protected members
  • Fixes "No 'Is Identity' setting when adding a new entity property (version 4.2.44)" (see #63)
  • Fixes "Bad intersection table generation when M:M tables have the same primary key name" (see #64)
  • Fixes "Table names are pluralized even when flag set to false" (see #65)

v4.2.4

19 May 11:38
Compare
Choose a tag to compare
  • Reduced model load time by 98%
  • Exposed "Collapse Selected Elements" context menu choice for diagrams
  • Fixed colors in saved diagram images (see #62)

v4.2.3

30 Mar 18:54
Compare
Choose a tag to compare
  • Added HierarchyId as a property type
  • Added optional index name for indexed properties
  • Added properties to bidirectional associations allowing custom naming of FK columns in join table
  • New example code for EF6 and EFCore. Thanks to David V for the pull request.
  • Class, property, enum and enum value names are now escaped if they match a reserved C# keyword
  • Ensured that a foreign key property's IsForeignKeyFor value is reset when the association is removed and that property is an Id property. (see #47)
  • Replaced legacy EF6Designer.ttinclude and EFCoreDesigner.ttinclude files for legacy model file backward compatability. (see #45)
  • Assembly import is a bit smarter now in detecting and using indexes and views
  • New glyphs in diagram and explorer to show transient and view entities
  • Fix bad constructor generation when multiple associations exist between the same classes (see #50)
  • Removed modeling restriction on unidirectional many-to-many properties in EFCore7+ projects (see #54)
  • Updated file sync logic for generated files. Thanks to Sancho-Lee for the pull request. (see #57)
  • Fix bad code re: key fields in derived types. (see #55)

v4.2.1

16 Aug 12:57
Compare
Choose a tag to compare

4.2.1

  • Added support for EFCore7
  • Added ability to import EFCore7 assemblies
  • Added ability to use property types not available in the select list, along with a global option enabling this feature in Tools/Options/Entity Framework Visual Editor (see #28)
  • Added support for DateOnly and TimeOnly types in EFCore 6+
  • Added ability to specify decimal precision in EFCore5+ projects
  • Fix for View->Other Windows->Entity Model Explorer not working (see #29)
  • Fix error in code generation template for EFCore5+ projects

v4.2.0

14 Aug 10:09
Compare
Choose a tag to compare
  • Added ability to import EFCore6 assemblies
  • Added database default values to properties (see #15)
  • Extension now obeys Visual Studio theme colors (see #9)
  • Added Persistent property to ModelClass to generate [NotMapped] when false. (see #17)
  • Entity constructors with required navigation properties are now generated with either the required navigation target or its foreign key property, if available (see #21)
  • Fixed other Entity Framework assembly imports that broke with VS2022 moving to 64-bit (see #14)
  • Fixed problem with generated Timestamp concurrency check (see #20)

v4.1.2

17 Feb 11:03
Compare
Choose a tag to compare
  • Added ability to create association classes via drag and drop of an entity onto a bidirectional many-to-many association
  • Restored ability to open secondary diagrams
  • Compiler update to Visual Studio v17.1.0 fixes missing designer menu items

v4.0.0

19 Dec 13:49
Compare
Choose a tag to compare

4.0.0

  • VS2022 extension
  • Added support for EFCore6
  • Added support for temporal tables

v4.0.0-rc3

08 Dec 10:09
Compare
Choose a tag to compare
v4.0.0-rc3 Pre-release
Pre-release

Fix #4