Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
QueryExpression Class (Sdk Assembly)

QueryExpression Class (Sdk Assembly)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Retrieves instances of a specific entity type by using a complex query.

The QueryExpression class inherits from QueryBase. It exposes the following members.

ConstructorDescription
QueryExpressionInitializes a new instance of the QueryExpression class.

Instance MethodDescription
Accept 
AddLinkAdds the specified link to the query expression.
AddOrderAdds the specified order expression to the query expression.

Instance PropertyDescription
CriteriaGets or sets the complex condition and logical filter expressions that filter the results of the query.
DistinctGets or sets a value that indicates whether the results of the query contain duplicate entity instances.
LinkEntitiesGets the links between multiple entity types.
OrdersGets the order in which the entity instances are returned from the query.
PageInfoGets or sets the number of pages and the number of entity instances per page returned from the query.

Remarks

For more information, see the CrmService.QueryExpression class.

Requirements

Namespace: Microsoft.Crm.Sdk.Query

Assembly: Microsoft.Crm.Sdk.dll

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2015 Microsoft