Add DataAnnotations metadata to EF Core in a partial class
If you’re old like me, and can remember back to the old days of LINQ to SQL and early Entity Framework with .NET Framework, then you’ll likely remember using a Metadata class along with the MetadataType attribute on a partial class to add DataAnnotations to your models. This allowed you to use your entities as […]
Add DataAnnotations metadata to EF Core in a partial class Read More ยป