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




KellermanSoftware.NetDataAccessLayer Namespace > IObjectCrud Interface > LoadWithChildren Method : LoadWithChildren<T>(Object) Method
Generic class type
The primary key value to search for
Load a record by the primary key with all children
Syntax
Overloads Function LoadWithChildren(Of T As {Class, New})( _
   ByVal primaryKeyValue As Object _
) As T
Dim instance As IObjectCrud
Dim primaryKeyValue As Object
Dim value As T
 
value = instance.LoadWithChildren(Of T)(primaryKeyValue)
T LoadWithChildren<T>( 
   object primaryKeyValue
)
where T: class, new()
T* LoadWithChildren<T>( 
   Object* primaryKeyValue
) 
where T: ref class, gcnew()
T^ LoadWithChildrengeneric<typename T>
( 
   Object^ primaryKeyValue
) 
where T: ref class, gcnew()

Parameters

primaryKeyValue
The primary key value to search for

Type Parameters

T
Generic class 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

IObjectCrud Interface
IObjectCrud Members
Overload List