Documentation clarification for Aspnet core and DTO objects

Posts   
 
    
yowl
User
Posts: 266
Joined: 11-Feb-2008
# Posted on: 22-Jun-2022 17:29:40   

Hi,

Please can you elaborate for my simple brain the section at https://www.llblgen.com/Documentation/5.8/LLBLGen%20Pro%20RTF/Using%20the%20generated%20code/Adapter/Distributed%20systems/gencode_webapicore.htm#net-core-3.x--.net-5-asp.net-core-with-webapi

Where it says "create per entity a new derived element" is that the right click on an entity then "Create sub-type"?

If so , where do you "Choose for derived model target framework the DTO classes framework" ?

Thanks,

Scott

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 22-Jun-2022 20:17:50   

Basically, you right click on an Entity, and select "Add Selected Entities to Derived Model".

There you can pick an existing derived model or create a new one.

Or you can go to the "Derived Models" node, under the root node in the project explorer, and select New Derived Model"

To know more about derived models, here is the full guide

yowl
User
Posts: 266
Joined: 11-Feb-2008
# Posted on: 22-Jun-2022 20:19:50   

Thank you!