Select from following answers:- Create a partial class in a separate class file. Add validation to event handlers implemented in this file.

- Create a new class that extends the entity class. Add validation to property overrides.
- Create a new class that extends the entity class. Add validation to event handlers implemented in this file.
- All Above
The suggested location for performing validation on data is in a partitioned partial class definition.
If you write methods and properties code directly into the class file generated by EdmGen.exe, you will have to rewrite it each time you update the model because EdmGen.exe will re-create it from scratch.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator