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 | |
---|---|---|
ColumnSet | Gets or sets the columns to include. | |
Criteria | Gets or sets the complex condition and logical filter expressions that filter the results of the query. | |
Distinct | Gets or sets whether the results of the query contain duplicate entity instances. | |
EntityName | Gets or sets the logical name of the entity. | |
ExtensionData | Gets or sets the structure that contains extra data. (inherited from QueryBase) | |
LinkEntities | Gets a collection of the links between multiple entity types. | |
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. | |
Orders | Gets the order in which the entity instances are returned from the query. | |
PageInfo | Gets or sets the number of pages and the number of entity instances per page returned from the query. | |
TopCount | Gets or sets the number of rows to be returned. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
AddLink | Overloaded. Adds the specified link to the query expression. | |
AddOrder | Adds the specified order expression to the query expression. | |
Equals | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
ToString | (inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object) | |
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.