Class QueryParameterExtensions
Provides extension methods for the QueryParameter<T> class.
public static class QueryParameterExtensions
- Inheritance
-
QueryParameterExtensions
Methods
- AsString<T>(QueryParameter<T>)
Converts the query parameter to a string representation.
- CopyTo<T>(QueryParameter<T>, QueryParameter<T>)
Copies the query parameter to another query parameter.
- GetIQueryable<T>(QueryParameter<T>, IQueryable<T>)
Gets an IQueryable<T> with all the query parameters applied.
- GetOnlyWhereIQueryable<T>(QueryParameter<T>, IQueryable<T>)
Gets an IQueryable<T> with only the where clause applied.
- GetWhereByPrimaryKeys<T>(QueryParameter<T>)
Gets the where clause of the query parameter based on the primary keys.
- HasValidSearchQuery<T>(QueryParameter<T>)
Checks if the query parameter has a valid search query.
- SetWhereByPrimaryKeys<T>(QueryParameter<T>, IPrimaryKey)
Sets the where clause of the query parameter based on a single primary key.
- SetWhereByPrimaryKeys<T>(QueryParameter<T>, List<IPrimaryKey>)
Sets the where clause of the query parameter based on a list of primary keys.