// Token: 0x06000002 RID: 2 RVA: 0x00002075 File Offset: 0x00000275 internal void OnCompleted() { SqlMapper.IParameterCallbacks parameterCallbacks = this.Parameters as SqlMapper.IParameterCallbacks; if (parameterCallbacks == null) { return; } parameterCallbacks.OnCompleted(); }
private void NextResult() { if (reader.NextResult()) { readCount++; gridIndex++; consumed = false; } else { // happy path; close the reader cleanly - no // need for "Cancel" etc reader.Dispose(); reader = null; if (callbacks != null) { callbacks.OnCompleted(); } Dispose(); } }