ISupportsGetByKey..::..GetByKey<(Of <(<'TObject>)>)> Method (Int32)
Gets a record by its primary key.
Namespace:
Tortuga.Chain.DataSourcesAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
ISingleRowDbCommandBuilder<TObject> GetByKey<TObject>( int key )
Function GetByKey(Of TObject) ( _ key As Integer _ ) As ISingleRowDbCommandBuilder(Of TObject)
generic<typename TObject> ISingleRowDbCommandBuilder<TObject>^ GetByKey( int^ key )
Type Parameters
- TObject
- The type of the object. Used to determine which table will be read.
Parameters
- key
- Type: Int32
The key.