FetchExpression Class

 

Applies To: Dynamics CRM 2015

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 ref class FetchExpression sealed : QueryBase
[<Sealed>]
[<DataContractAttribute(Name = "FetchExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
type FetchExpression = 
    class
        inherit QueryBase
    end
<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

© 2016 Microsoft. All rights reserved. Copyright