Entity Framework 4.1 provides a great variety of validation features that can feed through to a user interface for client-side validation or be used for server-side validation. When using code first, you can specify validations using annotation or fluent API configurations. Additional validations, and more complex, can be specified in code and will work whether your model hails from code first, model first or database first.
This video presents content available in this article.
Presented by Julie Lerman.
Length: 9 minutes 42 seconds