Skip to content

Commit 6581768

Browse files
authored
Update README.md
1 parent e6b3c72 commit 6581768

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ All CRM versions from 2011 to 365 are supported, just include the one you need t
1414
# Remarks
1515
This library sets the NoLock parameter on your QueryExpressions to true by default (plain QueryExpressions don't).
1616
This is a recommended best practice, as otherwise the records would be locked in the database before retrieval, which might result in decreased performance.
17+
Not locking the data before retrieval might result in dirty reads however, if the record has an update transaction executing at the same time.
1718
There's also a limit of how much concurrent locked queries can run concurrently. Find out more about NoLock [here](https://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.query.queryexpression.nolock.aspx).
1819

1920
If you choose to lock the data for retrieval, set `service.With.DataBaseLock()`.

0 commit comments

Comments
 (0)