EntityQueryExpression EntityQueryExpression EntityQueryExpression EntityQueryExpression Class


Defines a complex query to retrieve entity metadata.

public ref class EntityQueryExpression sealed : Microsoft::Xrm::Sdk::Metadata::Query::MetadataQueryExpression
[System.Runtime.Serialization.DataContract(Name="EntityQueryExpression", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata/Query")]
public sealed class EntityQueryExpression : Microsoft.Xrm.Sdk.Metadata.Query.MetadataQueryExpression
type EntityQueryExpression = class
    inherit MetadataQueryExpression
Public NotInheritable Class EntityQueryExpression
Inherits MetadataQueryExpression


The following example shows the use of an EntityQueryExpression to retrieve entity metadata.



EntityQueryExpression() EntityQueryExpression() EntityQueryExpression() EntityQueryExpression()

Initializes a new instance of the EntityQueryExpression class.


AttributeQuery AttributeQuery AttributeQuery AttributeQuery

Gets or sets a query expression for the entity attribute metadata to return.

Criteria Criteria Criteria Criteria

Gets or sets the filter criteria for the metadata query.

(Inherited from MetadataQueryExpression)
ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from MetadataQueryBase)
KeyQuery KeyQuery KeyQuery KeyQuery

LabelQuery LabelQuery LabelQuery LabelQuery

Gets or sets a query expression for the labels to return.

Properties Properties Properties Properties

Gets or sets the properties to be returned by the query.

(Inherited from MetadataQueryExpression)
RelationshipQuery RelationshipQuery RelationshipQuery RelationshipQuery

Gets or sets a query expression for the entity relationship metadata to return.

Applies to