is there a simple way to implement table locking in ADO.NET (without beeing dependend on a specific DBMS-feature)? I’m currently using TransactionScopes, but I’m not quite sure, whether they lock the table…
is there a simple way to implement table locking in ADO.NET (without beeing dependend
Share
No, TransactionScope will not usually do a table lock; it may do row, page, key-range, table etc as the db sees fit.
For specific locking mechanisms I would expect to have to use vendor-specific mechanisms, such as different SQL hints.