Method SetWhereByPrimaryKeys
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
IPrimaryKeyThe primary key.
Type Parameters
T
The type of the entity.