Dotnet, Efcore.
e.YouTubeUrl) .IsUnicode(false).IsRequired(false).HasMaxLength(100); } } Another advantage of this variant is that it is much easier to implement your own extension methods and therefore reuse them in different places than with the attribute variant. public class UserProfileEntitySqlServerConfig :