Share via


QueryExpression Members

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Contains a complex query expressed in a hierarchy of expressions.

The following tables list the members exposed by the QueryExpression type.

Public Constructors

  Name Description
  QueryExpression Overloaded. Initializes a new instance of the QueryExpression class.

Top

Public Properties

  Name Description
public property ColumnSet Gets or sets the columns to include.
public property Criteria Gets or sets the complex condition and logical filter expressions that filter the results of the query.
public property Distinct Gets or sets whether the results of the query contain duplicate entity instances.
public property EntityName Gets or sets the logical name of the entity.
public property ExtensionData  Gets or sets the structure that contains extra data. (inherited from QueryBase)
public property LinkEntities Gets a collection of the links between multiple entity types.
public property NoLock Gets or sets a value that indicates that no shared locks are issued against the data that would prohibit other transactions from modifying the data in the records returned from the query.
public property Orders Gets the order in which the entity instances are returned from the query.
public property PageInfo Gets or sets the number of pages and the number of entity instances per page returned from the query.
public property TopCount Gets or sets the number of rows to be returned.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method AddLink Overloaded. Adds the specified link to the query expression.
public method AddOrder Adds the specified order expression to the query expression.
public method Equals  (inherited from Object)
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public method ToString  (inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

See Also

Reference

QueryExpression Class
Microsoft.Xrm.Sdk.Query Namespace

Other Resources

Build Queries with QueryExpression
Sample: Retrieve Multiple with Query Expression
Sample: Query Connection Roles by Entity Type Code (Early Bound)

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.