7 Nov 2013 • less than a minute read
Adding validation to models created by Entity Framework Database First - C#
Validate your entity framework models but still automatically generate your models using entity framework database-first by using partial classes to define validation attributes by utilizing the MetadataTypeAttribute class