Source/NFX/DataUtils.cs
/// <summary>
/// Casts enumerable of rows (such as rowset) to the specified row type, returning empty enumerable if the source is null
/// </summary>
Casts enumerable of rows (such as rowset) to the specified row type, returning empty enumerable if the source is null
Casts enumerable of rows ( such as rowset ) to the specified row type returning empty enumerable if the source is null
public static IEnumerable<TRow> AsEnumerableOf<TRow>(this IEnumerable<Row> source) where TRow : Row
    {
      if (source==null) return Enumerable.Empty<TRow>();
      return source.Cast<TRow>();
    }
public static IEnumerable < TRow > AsEnumerableOf < TRow > ( this IEnumerable < Row > source ) where TRow : Row { if ( source == null ) return Enumerable . Empty < TRow > ( ) ; return source . Cast < TRow > ( ) ; }
Casts enumerable of rows (such as rowset) to the specified row type, returning empty enumerable if the source is null
Casts enumerable of rows ( such as rowset ) to the specified row type returning empty enumerable if the source is null
IEnumerable<Row>
this