Validating Data Defined in Conceptual Models
When you use a conceptual model, you can define what kind of data is valid in the language that matches your domain. You can define valid data in the model, or you can add validation to operations that you perform on an entity or data service.
The following topics show how to add validation to Entity Framework and WCF Data Services applications.
Shows how to restrict the ends of associations to valid entities.
Shows how to create data type constraints for property values.
Shows how to validate properties when they change.
Shows how to validate entities before saving to the database.
Shows how to validate entities when a relationship changes.
Shows how to add validation to a data service operation.