Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EntityQueryExpression Class

Definition

Namespace:
Microsoft.Xrm.Sdk.Metadata.Query
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
EntityQueryExpression()

Initializes a new instance of the EntityQueryExpression class.

Properties

Name Description
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