Represents a query for building Linq translatable SQL queries
Namespace: Umbraco.Cms.Core.Persistence.Querying Assembly: Umbraco.Core.dll Syntaxpublic interface IQuery<T>
Type Parameters Methods View Source GetWhereClauses()
Returns all translated where clauses and their sql parameters
DeclarationIEnumerable<Tuple<string, object[]>> GetWhereClauses()
Returns Type Description System.Collections.IEnumerable<Tuple<System.String, System.Object[]>> View Source Where(Expression<Func<T, Boolean>>)
Adds a where clause to the query
DeclarationIQuery<T> Where(Expression<Func<T, bool>> predicate)
Parameters Type Name Description System.Linq.Expressions.Expression<Func<T, System.Boolean>> predicate Returns Type Description IQuery<T>
This instance so calls to this method are chainable
View Source WhereAny(IEnumerable<Expression<Func<T, Boolean>>>)Adds a set of OR-ed where clauses to the query.
DeclarationIQuery<T> WhereAny(IEnumerable<Expression<Func<T, bool>>> predicates)
Parameters Type Name Description System.Collections.IEnumerable<System.Linq.Expressions.Expression<Func<T, System.Boolean>>> predicates Returns Type Description IQuery<T>
This instance so calls to this method are chainable.
View Source WhereIn(Expression<Func<T, Object>>, IEnumerable)Adds a where-in clause to the query
DeclarationIQuery<T> WhereIn(Expression<Func<T, object>> fieldSelector, IEnumerable values)
Parameters Type Name Description System.Linq.Expressions.Expression<Func<T, System.Object>> fieldSelector System.Collections.IEnumerable values Returns Type Description IQuery<T>
This instance so calls to this method are chainable
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4