-
Notifications
You must be signed in to change notification settings - Fork 129
Release notes for Dapper.FastCrud.ModelGenerator
MoonStorm edited this page Jun 3, 2024
·
4 revisions
- An opt-in flag was added for generating schema decorated entities.
- Several problems involving schemas were fixed (e.g. identical table names in separate schemas, relationships, general metadata extraction).
- Parent entity properties are now generated as nullable.
- Added support for
TimeOnly
andDateOnly
. - Added warning suppressions for non-nullable properties.
- Customizable entity class modifiers.
- Customizable entity property modifiers.
- [Breaking change] Support for composite primary keys.
- [Breaking change] Added support for self referenced entities.
- [Breaking change] Added support for multiple references to the same target using the InverseProperty attribute.
- [Breaking change] Better handling of columns representing reserved keywords in C#.
- Support for new csproj style projects.
- Fixed a problem preventing it from being used in VS2019 and later.
- @ is now added to property names matching keywords or digits.
- Added support for relationships.
- CRLF fixed in the model generator.
- BREAKING CHANGE: the logic for marking properties with DatabaseGeneratedAttribute has changed. Please check the docs.
- BREAKING CHANGE: a proprietary DatabaseGeneratedDefaultValueAttribute was introduced, however this must be enabled in the template. Note that this is a Dapper.FastCrud library feature only.
- BREAKING CHANGE: primary keys having their values generated via newid() are marked with DatabaseGenerated(DatabaseGeneratedOption.Identity) in case the generation of the proprietary attribute is turned off.
- compatible with any 2.3.x version of Dapper.FastCrud.
- compatible with any 2.0.x, 2.1.x or 2.2.x version of Dapper.FastCrud.