Get Output paramter / Identity value with Update

Posts   
 
    
Amith
User
Posts: 23
Joined: 21-Aug-2008
# Posted on: 11-May-2010 18:50:45   

Hi,

Is there any way to get the Output parameter or new Identity value generated while doing UpdateEntity (any update method) method?

I want to avoid refetch with the save. All I need the new Id value which is an Identity column.

Walaa avatar
Walaa
Support Team
Posts: 14987
Joined: 21-Aug-2005
# Posted on: 12-May-2010 10:57:20   

And this Id is not the PK?

Coz the PK doesn't get updated once set, also Identity values are set on Inserts not in Updates, unless you have some trigger working on.

Side note: The General Chat Forum is not for LLBLGen issues. The support team doesn't monitor this forum.