Knight Data Access Layer
LoadFromSprocWithChildren<T>(String) Method




KellermanSoftware.NetDataAccessLayer Namespace > ObjectCrud Class > LoadFromSprocWithChildren Method : LoadFromSprocWithChildren<T>(String) Method
Generic class type
The name of the stored procedure
Load a list of objects from a stored procedure with all children
Syntax
Public Overloads Function LoadFromSprocWithChildren(Of T As {Class, New})( _
   ByVal storedProcedureName As String _
) As List(Of T)
Dim instance As ObjectCrud
Dim storedProcedureName As String
Dim value As List(Of T)
 
value = instance.LoadFromSprocWithChildren(Of T)(storedProcedureName)
public List<T> LoadFromSprocWithChildren<T>( 
   string storedProcedureName
)
where T: class, new()
public: List<T*>* LoadFromSprocWithChildren<T>( 
   string* storedProcedureName
) 
where T: ref class, gcnew()
public:
List<T^>^ LoadFromSprocWithChildrengeneric<typename T>
( 
   String^ storedProcedureName
) 
where T: ref class, gcnew()

Parameters

storedProcedureName
The name of the stored procedure

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

ObjectCrud Class
ObjectCrud Members
Overload List