Table of Contents

Method SetWhereByPrimaryKeys

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll

SetWhereByPrimaryKeys<T>(QueryParameter<T>, List<IPrimaryKey>)

Sets the where clause of the query parameter based on a list of primary keys.

public static void SetWhereByPrimaryKeys<T>(this QueryParameter<T> queryParameter, List<IPrimaryKey> keyList) where T : class

Parameters

queryParameter QueryParameter<T>

The query parameter.

keyList List<IPrimaryKey>

The list of primary keys.

Type Parameters

T

The type of the entity.

SetWhereByPrimaryKeys<T>(QueryParameter<T>, IPrimaryKey)

Sets the where clause of the query parameter based on a single primary key.

public static void SetWhereByPrimaryKeys<T>(this QueryParameter<T> queryParameter, IPrimaryKey keys) where T : class

Parameters

queryParameter QueryParameter<T>

The query parameter.

keys IPrimaryKey

The primary key.

Type Parameters

T

The type of the entity.