Partager via


QueryExpression ComplexType

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

A complex query expressed in a hierarchy of expressions.

This Web API complex type corresponds to the organization service QueryExpression.

This Web API complex type inherits from QueryBase ComplexType.

Properties

The properties of a complex type contain the structured data of the type.

Name

Type

Nullable

Unicode

Description

ColumnSet

ColumnSet ComplexType

The columns to include.

Criteria

FilterExpression ComplexType

The complex condition and logical filter expressions that filter the results of the query.

Distinct

Edm.Boolean

Whether the results of the query contain duplicate entity instances.

EntityName

Edm.String

false

The logical name of the entity.

LinkEntities

Collection(LinkEntity ComplexType)

A collection of the links between multiple entity types.

NoLock

Edm.Boolean

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

Collection(OrderExpression ComplexType)

The order in which the entity instances are returned from the query.

PageInfo

PagingInfo ComplexType

The number of pages and the number of entity instances per page returned from the query.

TopCount

Edm.Int32

The number of rows to be returned.

Types that use the QueryExpression complex type.

The following use the QueryExpression complex type.

Name

How used

Description

BulkDelete Action

QuerySet Parameter

Submits a bulk delete job that deletes selected records in bulk. This job runs asynchronously in the background without blocking other activities.

FetchXmlToQueryExpressionResponse ComplexType

Query Property

The response from the FetchXmlToQueryExpression Action.

See Also

Use the Microsoft Dynamics 365 Web API
Web API EntityType Reference
Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright