internal Enumerator( Rows.Enumerator rowEnumerator, ResultConverter <TResult> converter) { _rowEnumerator = rowEnumerator; Current = new Row <TResult>(rowEnumerator, converter); }
/// <summary> /// Executes the statement. /// </summary> public void Execute() { Rows.Enumerator rows = ExecuteInternal().GetEnumerator(); try { rows.MoveNext(); } finally { rows.Dispose(); } }
internal Row(Rows.Enumerator rowEnumerator, ResultConverter <TResult> converter) { _rowEnumerator = rowEnumerator; _converter = converter; }