entityframeworkcore.eu - Entity Framework Core Blog -

Example domain paragraphs

A few days ago, a college ask me how to change EF Core 3.1 conventions. A little research later I found the this is possible, but a bit hidden.

EF Core 3.1 uses convention sets with all available conventions for a provider. Those sets are created by some sort of convention set builder. In case of a relational database like SQL Server it is a SqlServerConventionSetBuilder based on RelationalConventionSetBuilder which implements IProviderConventionSetBuilder .

This builder can be replaces by in EF Core’s internal DI service with your own customized implemenation.

Links to entityframeworkcore.eu (1)