Source/NFX/DataUtils.cs
/// <summary>
/// Async version - loads rowset with rows cast per Query(T) or empty enum
/// </summary>
Async version - loads rowset with rows cast per Query(T) or empty enum
Async version - loads rowset with rows cast per Query ( T ) or empty enum
public static Task<IEnumerable<TRow>> LoadEnumerableAsync<TRow>(this ICRUDOperations operations, Query<TRow> query) where TRow : Row
    {
      if (operations==null || query==null)
        throw new NFXException(StringConsts.ARGUMENT_ERROR+"LoadEnumerableAsync(ICRUDOperations==null | query==null)");
      return operations.LoadOneRowsetAsync(query)
                       .ContinueWith<IEnumerable<TRow>>( (antecedent) => antecedent.Result.AsEnumerableOf<TRow>());
    }
public static Task < IEnumerable < TRow > > LoadEnumerableAsync < TRow > ( this ICRUDOperations operations , Query < TRow > query ) where TRow : Row { if ( operations == null || query == null ) throw new NFXException ( StringConsts . ARGUMENT_ERROR + " " ) ; return operations . LoadOneRowsetAsync ( query ) . ContinueWith < IEnumerable < TRow > > ( ( antecedent ) => antecedent . Result . AsEnumerableOf < TRow > ( ) ) ; }
Async version - loads rowset with rows cast per Query(T) or empty enum
Async version - loads rowset with rows cast per Query ( T ) or empty enum
ICRUDOperations
this
query
Query<TRow>