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




KellermanSoftware.NetDataAccessLayer Namespace > ObjectCrud Class > 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
Public Overloads Function LoadOne(Of T As {Class, New})( _
   ByVal parameters As Dictionary(Of String,Object) _
) As T
Dim instance As ObjectCrud
Dim parameters As Dictionary(Of String,Object)
Dim value As T
 
value = instance.LoadOne(Of T)(parameters)
public T LoadOne<T>( 
   Dictionary<string,object> parameters
)
where T: class, new()
public: T* LoadOne<T>( 
   Dictionary<string*,Object*>* parameters
) 
where T: ref class, gcnew()
public:
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

ObjectCrud Class
ObjectCrud Members
Overload List