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




KellermanSoftware.NetDataAccessLayer Namespace > IObjectCrud Interface > LoadFromSproc Method : LoadFromSproc<T>(String,Dictionary<String,Object>) Method
Load a list of objects from a stored procedure
Syntax
Overloads Function LoadFromSproc(Of T As {Class, New})( _
   ByVal storedProcedureName As String, _
   ByVal parameters As Dictionary(Of String,Object) _
) As List(Of T)
Dim instance As IObjectCrud
Dim storedProcedureName As String
Dim parameters As Dictionary(Of String,Object)
Dim value As List(Of T)
 
value = instance.LoadFromSproc(Of T)(storedProcedureName, parameters)
List<T> LoadFromSproc<T>( 
   string storedProcedureName,
   Dictionary<string,object> parameters
)
where T: class, new()
List<T*>* LoadFromSproc<T>( 
   string* storedProcedureName,
   Dictionary<string*,Object*>* parameters
) 
where T: ref class, gcnew()
List<T^>^ LoadFromSprocgeneric<typename T>
( 
   String^ storedProcedureName,
   Dictionary<String^,Object^>^ parameters
) 
where T: ref class, gcnew()

Parameters

storedProcedureName
parameters

Type Parameters

T
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