Dela via


QueryBuilder Class

Definition

QueryBuilder supports building of object model queries in an object-model-agnostic way.

public ref class QueryBuilder abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class QueryBuilder abstract
[Windows::Foundation::Metadata::WebHostHidden]
class QueryBuilder abstract
public abstract class QueryBuilder
type QueryBuilder = class
Public MustInherit Class QueryBuilder
Inheritance
QueryBuilder

Constructors

QueryBuilder()

Methods

AddQueryOption(String, Object)

Sets a query option.

ExcludeByProperty(String, IEnumerable, Boolean, BehaviorOnNoMatch)

Modifies the query, so that it does not return objects with a given property value.

FilterByAssociatedInstance(Object, String, String, String, BehaviorOnNoMatch)

Modifies the query, so that it returns only objects associated with associatedInstance

FilterByMaxPropertyValue(String, Object, BehaviorOnNoMatch)

Modifies the query, so that it returns only objects that have a property value less than or equal to a maxPropertyValue threshold.

FilterByMinPropertyValue(String, Object, BehaviorOnNoMatch)

Modifies the query, so that it returns only objects that have a property value greater than or equal to a minPropertyValue threshold.

FilterByProperty(String, IEnumerable, Boolean, BehaviorOnNoMatch)

Modifies the query, so that it only returns objects with a given property value.

Applies to