public HintScope(string hint) { if (String.IsNullOrWhiteSpace(hint)) { throw new ArgumentOutOfRangeException("hint"); } QueryHint = hint; CurrentHintScope = this; }
public void Dispose() { CurrentHintScope = null; }