Skip to end of metadata
Go to start of metadata

Represents query descriptor object that represents complex data query in structural model.

Definition

public class QueryDescriptor : INotifyPropertyChanged

Summary

The following table summarizes the members exposed in this class.

Public Constructors

QueryDescriptor Constructor() Initializes a new instance of the QueryDescriptor class.

Public Properties

FilterDescriptors Gets or sets the collection of filter descriptor.
Includes Gets or sets the include queries.
PageDescriptor Gets or sets the page descriptor.
Selects Gets or sets the select queries.
SortDescriptors Gets or sets the collection of sort descriptor.
SuspendQueryChanged Gets or sets a value indicating whether the query changed event is suspended.

Public Methods

CreateCopy() Creates the copy of the query descriptor.
CreateCopy(bool, bool, bool) Creates the copy of the query descriptor.
RaiseQueryChanged() Raises the query changed event.

Protected Methods

Events

PropertyChanged Occurs when property is changed.
QueryChanged Occurs when query is changed.

Public Constructors

public QueryDescriptor()

Public Properties

public CompositeFilterDescriptorCollection FilterDescriptors { get; set; }

Gets or sets the collection of filter descriptor.

public IncludeDescriptorCollection Includes { get; set; }

Gets or sets the include queries.

public PageDescriptor PageDescriptor { get; set; }

Gets or sets the page descriptor.

public SelectDescriptorCollection Selects { get; set; }

Gets or sets the select queries.

public SortDescriptorCollection SortDescriptors { get; set; }

Gets or sets the collection of sort descriptor.

public bool SuspendQueryChanged { get; set; }

Gets or sets a value indicating whether the query changed event is suspended.

Public Methods

public QueryDescriptor CreateCopy()

Creates the copy of the query descriptor.

public QueryDescriptor CreateCopy(bool includeSortDescriptor, bool includeFilterDescriptor, bool includePageDescriptor)

Creates the copy of the query descriptor.

Parameters

includeSortDescriptor if set to true include the sort descriptor.
includeFilterDescriptor if set to true include the filter descriptor.
includePageDescriptor if set to true include the page descriptor.

public void RaiseQueryChanged()

Raises the query changed event.

Protected Methods

protected void OnPropertyChanged(string propertyName)

Raises the QueryDescriptor event.

Parameters

propertyName Name of the property.

Events

public event PropertyChangedEventHandler PropertyChanged

Occurs when property is changed.

public event EventHandler QueryChanged

Occurs when query is changed.

  • No labels