Dotnet, Efcore.
Configurations ultimately do the same thing, but since the restrictions are declared outside the entity, they can be implemented differently for each supported database. This makes it possible to maximize the use of different database engine support. public class UserProfileEntitySqlServerConfig :