EntityFrameworkCore.Extensions
EntityFrameworkCore.Extensions copied to clipboard
A set of useful extensions for EntityFrameworkCore (Enum Lookup Tables, Naming of tables / properties / keys, Pluralize).
Hello! I'd like to configure my database table naming scheme manually within my `IEntityTypeConfigureation` classes. I don't want `SpatialFocus/EntityFrameworkCore.Extensions` to apply any NamingScheme to any non-enum classes at all. For...
In certain cases, configuring enum lookups on an owned type (via the new `ConfigureOwnedEnumLookup` extension method) causes EF Core to generate an enum lookup table with a redundant foreign key...
I am liking this EF Core extension, however, If you created an Enum in a previous migration, then update the Enum values, the new values are not migrated to the...
We are setting cascade as default delete behavior, whereas the `DeleteBehavior` enum defines **ClientSetNull is the default for optional relationships. That is, for relationships that have nullable foreign keys.**
A foreign key field to an enum lookup table should not be called exactly like the table, but should be suffixed with ID
Improve README.md with - [x] Basic functionality - [x] Default settings - [x] Configuration options - [ ] More examples - [ ] Enum update (adding, removing, renaming) issues -...