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




KellermanSoftware.NetDataAccessLayer Namespace > BaseRepository<T> Class : LoadWithChildren Method
The primary key value to search for
Load a record by the primary key with all children
Syntax
Public Function LoadWithChildren( _
   ByVal primaryKeyValue As Object _
) As T
Dim instance As BaseRepository(Of T)
Dim primaryKeyValue As Object
Dim value As T
 
value = instance.LoadWithChildren(primaryKeyValue)
public T LoadWithChildren( 
   object primaryKeyValue
)
public: T* LoadWithChildren( 
   Object* primaryKeyValue
) 
public:
T^ LoadWithChildren( 
   Object^ primaryKeyValue
) 

Parameters

primaryKeyValue
The primary key value to search for
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

BaseRepository<T> Class
BaseRepository<T> Members