Method GetWhereByPrimaryKeys
GetWhereByPrimaryKeys<T>(QueryParameter<T>)
Gets the where clause of the query parameter based on the primary keys.
public static Expression<Func<T, bool>> GetWhereByPrimaryKeys<T>(this QueryParameter<T> queryParameter) where T : class
Parameters
queryParameter
QueryParameter<T>The query parameter.
Returns
- Expression<Func<T, bool>>
The where clause expression.
Type Parameters
T
The type of the entity.