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




KellermanSoftware.NetDataAccessLayer Namespace > ObjectCrud Class > LoadWithChildren Method : LoadWithChildren<T>(T) Method
The entity type
The entity to fill
Load all the parents and children for the passed in entity
Syntax
Public Overloads Function LoadWithChildren(Of T As {Class, New})( _
   ByVal entity As T _
) As T
Dim instance As ObjectCrud
Dim entity As T
Dim value As T
 
value = instance.LoadWithChildren(Of T)(entity)
public T LoadWithChildren<T>( 
   T entity
)
where T: class, new()
public: T* LoadWithChildren<T>( 
   T* entity
) 
where T: ref class, gcnew()
public:
T^ LoadWithChildrengeneric<typename T>
( 
   T^ entity
) 
where T: ref class, gcnew()

Parameters

entity
The entity to fill

Type Parameters

T
The entity type
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

ObjectCrud Class
ObjectCrud Members
Overload List