Partilhar via


FetchExpression Class

 

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

Contains a query expressed in FetchXML.

Namespace:   Microsoft.Xrm.Sdk.Query
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Query.QueryBase
    Microsoft.Xrm.Sdk.Query.FetchExpression

Syntax

[DataContractAttribute(Name = "FetchExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class FetchExpression : QueryBase
<DataContractAttribute(Name := "FetchExpression", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class FetchExpression
    Inherits QueryBase

Constructors

Name Description
System_CAPS_pubmethod FetchExpression(String)

Initializes a new instance of the FetchExpression class.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from QueryBase.)

System_CAPS_pubproperty Query

Gets or sets the FetchXML query string.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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.Query Namespace
Build queries with FetchXML
FetchXML schema

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright