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

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

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<long> keys
)
Function GetByKeyList(Of TObject) ( _
	keys As IEnumerable(Of Long) _
) As IMultipleRowDbCommandBuilder(Of TObject)
generic<typename TObject>
IMultipleRowDbCommandBuilder<TObject>^ GetByKeyList(
	IEnumerable<long long^>^ keys
)

Type Parameters

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

Parameters

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

Return Value

Remarks


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