Method GetOnlyWhereIQueryable
GetOnlyWhereIQueryable<T>(QueryParameter<T>, IQueryable<T>)
Gets an IQueryable<T> with only the where clause applied.
public static IQueryable<T> GetOnlyWhereIQueryable<T>(this QueryParameter<T> parameter, IQueryable<T> queryable) where T : class
Parameters
parameter
QueryParameter<T>The query parameter.
queryable
IQueryable<T>The queryable.
Returns
- IQueryable<T>
The filtered queryable.
Type Parameters
T
The type of the entity.