2
Answers

Get primary key in SQLTransaction before commit it

Ajay Patel

Ajay Patel

10y
1.4k
1
Hello, 
 I am doing Insert using SqlTransaction but I need to get primary key of last Inserted table to use it in next statement. I don't want to commit the transaction before complete insert in second table. so how to get primary key in SQLTransaction before commit it
 
Thanks 
Answers (2)
Next Recommended Forum