Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Validation framework for EntityFramework [duplicate]

Possible Duplicate:
Entity Framework Validation

Is there any good and flexible validation framework for EntityFramework ?


1 Answers

Entity Framework 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 Data annotation or fluent API configurations.

Additional and more complex validations can be specified in code and will work whether your model hails from code first, model first or database first.

Here are some links for more details: Configuring Properties and Types with the Fluent API and Entity Framework Validation.

like image 122
Sampath Avatar answered Jul 01 '26 02:07

Sampath