Select from following answers:- Create a T4 text template and the method.
- Add a new partial class to your project and add the method to this class.
- Open the created entity class and add the method.
- All Above
It's simple to add a new partial class to your project and add the new method to this class.
T4 templatel generate entity classes, but every class will have your new method.
modify the entity class created by the EF designer, the next time you generate the entity classes, the Entity Framework designer will overwrite your added method.
Show Correct Answer
Source: Microsoft training kit exam | |
Alert Moderator