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