简体   繁体   中英

LLBLGen: Auto generate DTO files

In my project I am using LLBLGen as ORM. I am able to generate entity objects for all the tables present in database but respective DTO objects are not getting generated automatically for all the table. I have to manually select each table and generate. Is there any automatic way to do this in one go? LLBLGen version used: 5.2

DTO Model is a Derived Model in LLBLGen. You have to create Derived Model in you LLBLGen Designer. You add the DTO you want based on some entity, you repeat the process to add all the necessary DTOs you need.

Then when you generate code, you have the option to generate that specific Derived Model, which include all your DTOs.

More info:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM