Add comment about reasoning for local context variable

This commit is contained in:
Dean Herbert 2018-06-06 22:05:25 +09:00
parent 3a823d6c25
commit a60c888ae5
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ public DatabaseWriteUsage GetForWrite(bool withTransaction = true)
}
else
{
// we want to try-catch the retrieval of the context because it could throw an error (in CreateContext).
context = threadContexts.Value;
}
}