Select from following answers:- Create a T4 (.tt) template that writes entity classes that extend BaseEntity.

- In partial classes, modify the entity class definition to extend BaseEntity.
- Create a Visual Studio extension that generates class definitions from the Entity Data Model XML.
- All Above
By default, the Entity Designer uses the EntityModelCodeGenerator custom tool to generate object-layer code. When you add a text template to a project, the Entity Designer can use the template to generate object-layer code instead of using the default custom tool. A template allows you to specify how generated classes will be defined.
If you use the default custom tool, the resulting objects will still inherit from EntityObject. Attempting to extend another class in a partial class definition will result in a compilation error.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator