EntityQueryExpression Class

Definition

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
[<System.Runtime.Serialization.DataContract(Name="EntityQueryExpression", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata/Query")>]
type EntityQueryExpression = class
    inherit MetadataQueryExpression
Public NotInheritable Class EntityQueryExpression
Inherits MetadataQueryExpression
Inheritance
Attributes

Remarks

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

Constructors

EntityQueryExpression()

Initializes a new instance of the EntityQueryExpression class.

Properties

AttributeQuery

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

Criteria

Gets or sets the filter criteria for the metadata query.

(Inherited from MetadataQueryExpression)
ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from MetadataQueryBase)
KeyQuery

LabelQuery

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

Properties

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

(Inherited from MetadataQueryExpression)
RelationshipQuery

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

Applies to