public IReadContext OpenReadContext()
{
try
{
SqlConnection connection = OpenConnection();
return new ReadContext(connection, _transactionNotifier);
}
catch (Exception e)
{
Platform.Log(LogLevel.Error, e, "Exception when opening database connection for reading");
throw new PersistenceException("Unexpected exception opening database connection for reading", e);
}
}