Is there a way to use UPDLOCK with LinQ To SQL? I have a scenario that needs it.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Linq2SQL currently doesn’t support issuing an UPDLOCK
More info here and here
if you need to do this, you can wrap your own SQL in a SPROC and have L2S execute the SPROC instead