Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Adding Validation to Domain-Specific Language Solutions

As the author of a domain-specific language, you can add constraints to your domain models to check for semantic correctness beyond what you can express in the syntax of that language. Users of your domain-specific languages can run validation on the models that they create from those languages and see the results.

Validation Overview for Domain-Specific Languages

Explains your options for setting validation constraints in a domain-specific language.

Walkthrough: Adding Validation to a Domain Model

Walks you through adding validation to an example of a domain model, creating a test model, and validating the test model against the constraints.

Walkthrough: Adding Custom Validation to a Domain Model

Walks you through adding and testing custom validation code that you apply to a class diagram domain-specific language.

Community Additions

© 2015 Microsoft