Your question about navigation properties in the DTO layer comes just in time.
We have implemented support for these properties recently and they will be available in the next official release coming in the beginning of June.
For now you can replace the code generation templates that produce the DTO types with the newly updated ones from the attachment.
In order to do so, you can extract the zip archive overwriting the DTO folder at:
<Your OpenAccess install dir>\dsl2010\CodeGenerationTemplates\Dto
(usually it is C:\Program Files\Telerik\OpenAccess ORM\dsl2010\CodeGenerationTemplates\Dto
I would recommend that you create a backup copy of the original templates before overwriting them.
If you have made any customizations to these templates please contact us so we can find a way how to merge the changes safely.
Please note that we provide support for navigation properties in the Entity to DTO direction only
. This is a design consideration, because usually update (DTO to Entity) business logic usually is application specific and we prefer it to be handled by the developer.
As an early adopter of the new feature we would like to hear your feedback and suggestions so we can make the service generation even more attractive to other OpenAccess developers.
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!