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




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

Parameters

storedProcedureName
The name of the stored procedure
parameters
The parameters to pass to the stored procedure

Type Parameters

T

Return Value

A list of objects
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

IDataHelper Interface
IDataHelper Members
Overload List