Page 1 of 1

Dto data annotations

Posted: Tue 27 Jan 2015 10:06
by vinz
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

Re: Dto data annotations

Posted: Fri 30 Jan 2015 16:01
by Shalex
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.