RelationshipQueryExpression Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Defines a complex query to retrieve entity relationship metadata for entities retrieved using an EntityQueryExpression
Namespace: Microsoft.Xrm.Sdk.Metadata.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Metadata.Query.MetadataQueryBase
Microsoft.Xrm.Sdk.Metadata.Query.MetadataQueryExpression
Microsoft.Xrm.Sdk.Metadata.Query.RelationshipQueryExpression
Syntax
[DataContractAttribute(Name = "RelationshipQueryExpression",
Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata/Query")]
public sealed class RelationshipQueryExpression : MetadataQueryExpression
<DataContractAttribute(Name := "RelationshipQueryExpression",
Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata/Query")>
Public NotInheritable Class RelationshipQueryExpression
Inherits MetadataQueryExpression
Constructors
Name | Description | |
---|---|---|
RelationshipQueryExpression() | Initializes a new instance of the RelationshipQueryExpression class. |
Properties
Name | Description | |
---|---|---|
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.) |
|
Properties | Gets or sets the properties to be returned by the query.(Inherited from MetadataQueryExpression.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Sdk.Metadata.Query Namespace
Retrieve and detect changes to metadata
Sample: Query metadata and detect changes
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright