E
Earl
I've read the article on using Identity in disconnected scenarios,
http://www.ftponline.com/reports/vsliveor/2002/09_17_02/vaughn/default.asp,
and while I got much out of it, one thing wasn't so obvious. Once you do an
Insert, and retrieve the identity IDs with the output parameters (so far, so
good), how does the row receive that ID? I have a scenario where I try to
delete from a datagrid immediately after Inserting a row. I've not resolved
how to stop the concurrency error, despite retrieval of the identity ID as
an output parameter in the stored procedure. Running the delete code when I
have not inserted a row works fine.
http://www.ftponline.com/reports/vsliveor/2002/09_17_02/vaughn/default.asp,
and while I got much out of it, one thing wasn't so obvious. Once you do an
Insert, and retrieve the identity IDs with the output parameters (so far, so
good), how does the row receive that ID? I have a scenario where I try to
delete from a datagrid immediately after Inserting a row. I've not resolved
how to stop the concurrency error, despite retrieval of the identity ID as
an output parameter in the stored procedure. Running the delete code when I
have not inserted a row works fine.