Llblgenprodatasource, return id on insert

Posts   
 
    
Karim
User
Posts: 14
Joined: 17-Dec-2007
# Posted on: 08-Jan-2008 12:50:28   

Hi,

How would i go about getting the id of an inserted object through llblgeprodatasource? I use the livepersistence set to true. Everything works as intended. Just need to get the autogenerated sql row_id of the object that is inserted.

Version 2.5 of LLBLGEN.

Kind regards, Karim

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 08-Jan-2008 12:56:45   

Handle the EntityInserted event of the LLBLGenProDataSource. Check it out in the LLBLGen Pro Reference manual.

Karim
User
Posts: 14
Joined: 17-Dec-2007
# Posted on: 08-Jan-2008 13:02:39   

Walaa wrote:

Handle the EntityInserted event of the LLBLGenProDataSource. Check it out in the LLBLGen Pro Reference manual.

Great, thanks.