FillCollection fills a Collection of objects from a DataReader
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static List<TItem> FillCollection<TItem>( IDataReader dr ) |
Visual Basic |
---|
Public Shared Function FillCollection(Of TItem) ( dr As IDataReader ) As List(Of TItem) |
Parameters
- dr
- Type: System.Data..::..IDataReader
The Data Reader
Type Parameters
- TItem
- The type of object