Source/NFX/DataUtils.cs
/// <summary>
/// Async version - loads one row cast per Query(T) or null
/// </summary>
Async version - loads one row cast per Query(T) or null
Async version - loads one row cast per Query ( T ) or null
public static Task<TRow> LoadRowAsync<TRow>(this ICRUDOperations operations, Query<TRow> query) where TRow : Row
    {
      if (operations==null || query==null)
        throw new NFXException(StringConsts.ARGUMENT_ERROR+"LoadRowAsync(ICRUDOperations==null | query==null)");
      return operations.LoadOneRowAsync(query)
                       .ContinueWith<TRow>( (antecedent) => antecedent.Result as TRow);
    }
public static Task < TRow > LoadRowAsync < TRow > ( this ICRUDOperations operations , Query < TRow > query ) where TRow : Row { if ( operations == null || query == null ) throw new NFXException ( StringConsts . ARGUMENT_ERROR + " " ) ; return operations . LoadOneRowAsync ( query ) . ContinueWith < TRow > ( ( antecedent ) => antecedent . Result as TRow ) ; }
Async version - loads one row cast per Query(T) or null
Async version - loads one row cast per Query ( T ) or null
ICRUDOperations
this
query
Query<TRow>