Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.DataSources Namespace
Tortuga.Chain.Metadata Namespace

ISupportsGetByKeyList..::..GetByKeyList<(Of <(<'TObject>)>)> Method (IEnumerable<(Of <(<'Int16>)>)>)

Gets a set of records by their primary key.

Namespace:  Tortuga.Chain.DataSources
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


IMultipleRowDbCommandBuilder<TObject> GetByKeyList<TObject>(
	IEnumerable<short> keys
)
Function GetByKeyList(Of TObject) ( _
	keys As IEnumerable(Of Short) _
) As IMultipleRowDbCommandBuilder(Of TObject)
generic<typename TObject>
IMultipleRowDbCommandBuilder<TObject>^ GetByKeyList(
	IEnumerable<short^>^ keys
)

Type Parameters

TObject
The type of the object. Used to determine which table will be read.

Parameters

keys
Type: IEnumerable<(Of <(<'Int16>)>)>
The keys.

Return Value

Remarks


This only works on tables that have a scalar primary key.