A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Persistence.Querying.IQuery-1.html below:

View Source Interface IQuery<T>

Represents a query for building Linq translatable SQL queries

Namespace: Umbraco.Cms.Core.Persistence.Querying Assembly: Umbraco.Core.dll Syntax
public interface IQuery<T>
Type Parameters Methods View Source GetWhereClauses()

Returns all translated where clauses and their sql parameters

Declaration
IEnumerable<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

Declaration
IQuery<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.

Declaration
IQuery<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

Declaration
IQuery<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