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