-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to use WITH (NOLOCK) with select queries #328
Comments
See an example:
|
I know that read uncommitted will work but I Use a generic method to get queryable from an entity and I don't know exactly when the query will be executed or else when I'm getting my result ( calling ToList() Method ) I must call commitTransaction after it Any other solutions |
Is it not possible to use IsolationLevel.ReadUnCommitted without creating a Transaction? |
that is what I'm saying, I will need to open transaction with any read operation which is not possible with linq deferred execution |
Any solution |
@mfatah14, Though initially I put a question there about query hints, the answers were still useful and allowed me to implement table hints, e.g. "with (nolock)". |
Hi
I'm using bltoolkit for my application and after deploying it on production environment it was very slow due to read with locking, I have no problem to read dirty data, so how to use WITH (NOLOCK) with my select queries
Thanks
The text was updated successfully, but these errors were encountered: