Skip to content

Commit acc188e

Browse files
committed
Fix line wrapping in sample code.
1 parent 88a5369 commit acc188e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ Usage is very simple by using custom extensions of the SqlConnection or SqlTrans
6060

6161
await using var sqlTrans = (SqlTransaction)await sqlConn.BeginTransactionAsync();
6262

63-
//Using any SqlTransaction (cast DbTransaction to SqlTransaction if needed), this will attempt to acquire
64-
// a distributed lock, and will wait up to 5 seconds before timing out.
63+
//Using any SqlTransaction (cast DbTransaction to SqlTransaction if needed), this will
64+
// attempt to acquire a distributed lock, and will wait up to 5 seconds before timing out.
6565
//Note: Default behavior is to throw and exception if the Lock cannot be acquired
6666
// (e.g. is already held by another process) but this can be overridden by parameter
6767
// to return the state in the appLock result.
@@ -79,8 +79,8 @@ _*NOTE: *Application Lock should ALWAYS be explicity Disposed of to ensure Lock
7979
await using var sqlConn = new SqlConnection(sqlConnectionString);
8080
await sqlConn.OpenAsync();
8181

82-
//Using any SqlTransaction (cast DbTransaction to SqlTransaction if needed), this will attempt to acquire
83-
// a distributed lock, and will wait up to 5 seconds before timing out.
82+
//Using any SqlTransaction (cast DbTransaction to SqlTransaction if needed), this will
83+
// attempt to acquire a distributed lock, and will wait up to 5 seconds before timing out.
8484
//Note: Default behavior is to throw and exception if the Lock cannot be acquired
8585
// (e.g. is already held by another process) but this can be overridden by parameter
8686
// to return the state in the appLock result.

0 commit comments

Comments
 (0)