L
localhost
I am using SQL OleDb provider (not SqlManaged provider). I have an
ADO.NET class that uses DataAdapter.Update to pass changes to the
database. I have a "concurrency" column in the database and in my
DataTable. The MSSQL (2000) stored procedure only does the update of
the "concurrency" column matches, if not it returns a result set.
What is a good strategy for detecting, at the SP or DataAdapter level,
if the update failed so I can throw a DBConcurrencyException? What is
a good strategy for force-throwing a DBConcurrencyException from the
DB?
Thanks.
ADO.NET class that uses DataAdapter.Update to pass changes to the
database. I have a "concurrency" column in the database and in my
DataTable. The MSSQL (2000) stored procedure only does the update of
the "concurrency" column matches, if not it returns a result set.
What is a good strategy for detecting, at the SP or DataAdapter level,
if the update failed so I can throw a DBConcurrencyException? What is
a good strategy for force-throwing a DBConcurrencyException from the
DB?
Thanks.