ExtensionMethods..::..ConvertEnumerableToDataTable<(Of <(<'TEntity>)>)> Method
Converts the enumerable to data table.
Namespace:
RingSoft.DbLookupAssembly: RingSoft.DbLookup (in RingSoft.DbLookup.dll)
Syntax
public static DataTable ConvertEnumerableToDataTable<TEntity>( this IEnumerable<TEntity> data )
<ExtensionAttribute> _ Public Shared Function ConvertEnumerableToDataTable(Of TEntity) ( _ data As IEnumerable(Of TEntity) _ ) As DataTable
[ExtensionAttribute] public: generic<typename TEntity> static DataTable^ ConvertEnumerableToDataTable( IEnumerable<TEntity>^ data )
Type Parameters
- TEntity
- The type of the t entity.
Parameters
- data
- Type: IEnumerable<(Of <(<'TEntity>)>)>
The data.