Knight Data Access Layer
LoadWithChildren<TR>(TR) Method




KellermanSoftware.NetDataAccessLayer Namespace > BaseActiveRecord<T> Class > LoadWithChildren Method : LoadWithChildren<TR>(TR) Method
Load parents and children for an entity
Syntax
Public Overloads Function LoadWithChildren(Of TR As {Class, New})( _
   ByVal entity As TR _
) As TR
Dim instance As BaseActiveRecord(Of T)
Dim entity As TR
Dim value As TR
 
value = instance.LoadWithChildren(Of TR)(entity)
public TR LoadWithChildren<TR>( 
   TR entity
)
where TR: class, new()
public: TR* LoadWithChildren<TR>( 
   TR* entity
) 
where TR: ref class, gcnew()
public:
TR^ LoadWithChildrengeneric<typename TR>
( 
   TR^ entity
) 
where TR: ref class, gcnew()

Parameters

entity

Type Parameters

TR
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

BaseActiveRecord<T> Class
BaseActiveRecord<T> Members
Overload List