5
Shouts

Class-Level Model Validation with EF Code First and ASP.NET MVC 3 - ScottGu's Blog

published 891 days, 4 hours, 57 minutes ago posted by http://kazimanzurrashid.myopenid.com/http://kazimanzurrashid.myopenid.com/ 893 days, 12 hours, 55 minutes ago
Tuesday, December 14, 2010 1:58:42 AM GMT Saturday, December 11, 2010 6:00:48 PM GMT

Earlier this week the data team released the CTP5 build of the new Entity Framework Code-First library.  In my blog post a few days ago I talked about a few of the improvements introduced with the new CTP5 build.  Automatic support for enforcing DataAnnotation validation attributes on models was one of the improvements I discussed.  It provides a pretty easy way to enable property-level validation logic within your model layer. You can apply validation attributes like [Required], [Range], and [Regular...

category: Architecture | clicked: 1 | | source: weblogs.asp.net | show counter code
tags: EF, Entity Framework, Code first, Entity Framework 4