FetchExpression Class

Definition

Contains a query expressed in FetchXML.

public ref class FetchExpression sealed : Microsoft::Xrm::Sdk::Query::QueryBase
[System.Runtime.Serialization.DataContract(Name="FetchExpression", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class FetchExpression : Microsoft.Xrm.Sdk.Query.QueryBase
[<System.Runtime.Serialization.DataContract(Name="FetchExpression", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type FetchExpression = class
    inherit QueryBase
Public NotInheritable Class FetchExpression
Inherits QueryBase
Inheritance
FetchExpression
Attributes

Remarks

Learn how to compose FetchXml queries

Constructors

FetchExpression()

Initializes a new instance of the
FetchExpression class.

FetchExpression(String)

Initializes a new instance of the
FetchExpression class, setting the Query property.

Properties

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from QueryBase)
Query

Gets or sets the FetchXML query string.

Applies to