Dto data annotations

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
vinz
Posts: 11
Joined: Fri 16 Jan 2015 12:51

Dto data annotations

Post by vinz » Tue 27 Jan 2015 10:06

Hello,
i have made a model with the templates "Dto" and "Metadata data annotations". The metadata data annontations template define the data annotation on the entities class.
How can i apply the metadata to the Dto class ?
thanks

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Re: Dto data annotations

Post by Shalex » Fri 30 Jan 2015 16:01

None of the "Data Transfer Object" and "Data Annotations Metadata" templates is main, they both are the auxiliary ones. Thus, they do not generate main objects, including context descendant. More information: http://forums.devart.com/viewtopic.php?f=1&t=29972 .

The documenation about these templates is available at http://www.devart.com/entitydeveloper/e ... eloper.chm > ORM Support > Entity Framework > Concepts > Model Generation Templates.

Post Reply