LLBL support mapping to Custom Business Object?

Posts   
 
    
mtran
User
Posts: 7
Joined: 29-Oct-2008
# Posted on: 06-Nov-2008 06:40:12   

Hi,

I have an existing application which requires a re-design of the DAL. This application has a set of custom business objects which I would like to keep. I'm using LLBL to generate the DAL and I'm wondering if LLBL supports mapping to custom business objects (CBO).

On the same note, if LLBL doesn't support mapping to CBO then would the following architecture be a good design practice:

Custom Business Objects <---> Entity Translator <---> LLBL Entities <---> Database

Thanks in advance for your help.

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 06-Nov-2008 12:09:33   

I'm wondering if LLBL supports mapping to custom business objects (CBO).

No, LLBLGen Pro doesn't support a direct mapping between a database table and a CBO.

On the same note, if LLBL doesn't support mapping to CBO then would the following architecture be a good design practice:

Custom Business Objects <---> Entity Translator <---> LLBL Entities <---> Database

This looks fine, and you can use Projection to custom classes in the entity translator layer.

mtran
User
Posts: 7
Joined: 29-Oct-2008
# Posted on: 09-Nov-2008 23:58:35   

Thanks Walaa simple_smile