public ISqlCommandCatchingScope EnableCatching() { var scope = new SqlCommandCatchingScope(this); _activeScopes.Add(scope); return(scope); }
public void Release(SqlCommandCatchingScope scope) { _activeScopes.Remove(scope); }