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

ISupportsGetByColumnList..::..GetByColumnList<(Of <(<'TObject, TKey>)>)> Method (String, IEnumerable<(Of <(<'TKey>)>)>)

Gets one or more records by an arbitrary column.

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

Syntax


IMultipleRowDbCommandBuilder<TObject> GetByColumnList<TObject, TKey>(
	string columnName,
	IEnumerable<TKey> keys
)
Function GetByColumnList(Of TObject, TKey) ( _
	columnName As String, _
	keys As IEnumerable(Of TKey) _
) As IMultipleRowDbCommandBuilder(Of TObject)
generic<typename TObject, typename TKey>
IMultipleRowDbCommandBuilder<TObject>^ GetByColumnList(
	String^ columnName, 
	IEnumerable<TKey>^ keys
)

Type Parameters

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

Parameters

columnName
Type: String
The name of the column to search.
keys
Type: IEnumerable<(Of <(<'TKey>)>)>
The search keys.