You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2
Original file line number
Diff line number
Diff line change
@@ -122,12 +122,20 @@ the recommended usage of Transaction Scope by calling `.AcquireAppLockAsync(...)
122
122
```
123
123
#### Using Sql Connection (Session Scope will be used) - Without Exception Handling:
124
124
_*NOTE: *Application Lock should ALWAYS be explicity Disposed of to ensure Lock is released**_
125
+
As a Connection level lock this will use the Sql Server Session level scoping which has it's own set of pros/cons and
126
+
potentially some additional risks of orphaned locks in the event of a thread crasching and not disposing correctly or
127
+
returning to the connection pool for the Session to end.
128
+
129
+
For more info see the [Microsoft Docs here](https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-getapplock-transact-sql?view=sql-server-ver16#remarks):
0 commit comments