UnitOfWork2 Fetching

Posts   
 
    
mohamed avatar
mohamed
User
Posts: 136
Joined: 10-Mar-2008
# Posted on: 15-Jun-2009 20:12:23   

Greetings,

Is there a way to inserting record in a table depends on another table without fetching this record by UnitOfWork2

Ex I have 2 tables named "table1" and "ShadowTable1" in my scenario i have PK ID of one record from "table1" and want to insert this record in "ShadowTable1" table as HISTORY

how to achieve this without fetching table1 entity ??

using LBLL 2.6 Adapter mode

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 16-Jun-2009 03:17:42   

Hi Mohamed,

Sorry, that's no supported.

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39859
Joined: 17-Aug-2003
# Posted on: 16-Jun-2009 10:12:11   

You could use a trigger perhaps to create the history automatically?

Frans Bouma | Lead developer LLBLGen Pro