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