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




View with Navigation Tools
KellermanSoftware.NetDataAccessLayer Namespace > IDataHelper Interface > LoadOne Method : LoadOne<T>(String,IEnumerable<Object>,String) Method
Generic class type
The where clause
Parameters for the where clause
What to order by
Load the first record in a table based on a where clause
Syntax
Overloads Function LoadOne(Of T As {Class, New})( _
   ByVal whereClause As String, _
   ByVal nameValueParameters As IEnumerable(Of Object), _
   ByVal orderBy As String _
) As T

Parameters

whereClause
The where clause
nameValueParameters
Parameters for the where clause
orderBy
What to order by

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

IDataHelper Interface
IDataHelper Members
Overload List