Knight Data Access Layer
RecordsToObjects<T> Method




KellermanSoftware.NetDataAccessLayer.LoadWithChildren Namespace > LoadWithChildrenLogic Class : RecordsToObjects<T> Method
The records.
The map.
Convert dictionary record list to objects
Syntax
Public Function RecordsToObjects(Of T As {Class, New})( _
   ByVal records As List(Of Dictionary(Of String,Object)), _
   ByVal map As LoadWithChildrenMap _
) As List(Of T)
Dim instance As LoadWithChildrenLogic
Dim records As List(Of Dictionary(Of String,Object))
Dim map As LoadWithChildrenMap
Dim value As List(Of T)
 
value = instance.RecordsToObjects(Of T)(records, map)
public List<T> RecordsToObjects<T>( 
   List<Dictionary<string,object>> records,
   LoadWithChildrenMap map
)
where T: class, new()
public: List<T*>* RecordsToObjects<T>( 
   List<Dictionary<string*,Object*>*>* records,
   LoadWithChildrenMap* map
) 
where T: ref class, gcnew()
public:
List<T^>^ RecordsToObjectsgeneric<typename T>
( 
   List<Dictionary<String^,Object^>^>^ records,
   LoadWithChildrenMap^ map
) 
where T: ref class, gcnew()

Parameters

records
The records.
map
The map.

Type Parameters

T

Return Value

List<T>.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LoadWithChildrenLogic Class
LoadWithChildrenLogic Members