Knight Data Access Layer
LoadOne(Object) Method




KellermanSoftware.NetDataAccessLayer Namespace > BaseActiveRecord<T> Class > LoadOne Method : LoadOne(Object) Method
Load a record by primary key
Syntax
Public Overloads Function LoadOne( _
   ByVal primaryKey As Object _
) As T
Dim instance As BaseActiveRecord(Of T)
Dim primaryKey As Object
Dim value As T
 
value = instance.LoadOne(primaryKey)
public T LoadOne( 
   object primaryKey
)
public: T* LoadOne( 
   Object* primaryKey
) 
public:
T^ LoadOne( 
   Object^ primaryKey
) 

Parameters

primaryKey
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

BaseActiveRecord<T> Class
BaseActiveRecord<T> Members
Overload List