Tortuga.Chain Namespace
Tortuga.Chain.Metadata Namespace

MySqlDataSourceBase..::..GetByKeyList<(Of <(<'T>)>)> Method (String, IEnumerable<(Of <(<'T>)>)>)

Gets a set of records by their primary key.

Namespace:  Tortuga.Chain.MySql
Assembly:  Tortuga.Chain.MySql (in Tortuga.Chain.MySql.dll)

Syntax


[SuppressMessageAttribute]
public MultipleRowDbCommandBuilder<MySqlCommand, MySqlParameter> GetByKeyList<T>(
	string tableName,
	IEnumerable<T> keys
)
<SuppressMessageAttribute> _
Public Function GetByKeyList(Of T) ( _
	tableName As String, _
	keys As IEnumerable(Of T) _
) As MultipleRowDbCommandBuilder(Of MySqlCommand, MySqlParameter)
[SuppressMessageAttribute]
public:
generic<typename T>
MultipleRowDbCommandBuilder<MySqlCommand^, MySqlParameter^>^ GetByKeyList(
	String^ tableName, 
	IEnumerable<T>^ keys
)

Type Parameters

T

Parameters

tableName
Type: String
Name of the table.
keys
Type: IEnumerable<(Of <(<'T>)>)>
The keys.

Return Value

MultipleRowDbCommandBuilder<MyAbstractCommand, MyAbstractParameter>.

Exceptions