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




KellermanSoftware.NetDataAccessLayer Namespace > IObjectCrud Interface > LoadOne Method : LoadOne<T>(Dictionary<String,Object>) Method
Generic class type
The parameters to use for the where clause
Load a single object by the passed parameters
Syntax
Overloads Function LoadOne(Of T As {Class, New})( _
   ByVal parameters As Dictionary(Of String,Object) _
) As T
Dim instance As IObjectCrud
Dim parameters As Dictionary(Of String,Object)
Dim value As T
 
value = instance.LoadOne(Of T)(parameters)
T LoadOne<T>( 
   Dictionary<string,object> parameters
)
where T: class, new()
T* LoadOne<T>( 
   Dictionary<string*,Object*>* parameters
) 
where T: ref class, gcnew()
T^ LoadOnegeneric<typename T>
( 
   Dictionary<String^,Object^>^ parameters
) 
where T: ref class, gcnew()

Parameters

parameters
The parameters to use for the where clause

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