Convert LLBLGen Pro Entities to a DTO?

Posts   
 
    
mshe
User
Posts: 167
Joined: 02-Feb-2006
# Posted on: 13-Jun-2008 17:07:43   

Hi all,

I understand that LLBLGen has a DataProjector class which I can use to project data to custom classes. However, I don't think it handles related collections?

Would it hard to extend the Custom class projector to handle related collections as well?

Also, is there any method of projecting from DTO back to LLBLGen entities?

I'm hoping to find a a consistent way of converting between LLBLGen -> DTOs and vice version... hopefully also finding a way that is testable so that I won't be mapping the fields to the wrong place or to non-existent fields.

Thanks!

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 14-Jun-2008 03:39:12   

Plaase take a look at this contribution: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=13256

You can also download DTO templates from LLBLGen - 3rd. Party - Donwload Section.

David Elizondo | LLBLGen Support Team