共用方式為


QueryBase Class

 

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

Represents the abstract base class for constructing a query.

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
    Microsoft.Xrm.Sdk.Query.QueryByAttribute
    Microsoft.Xrm.Sdk.Query.QueryExpression

Syntax

[KnownTypeAttribute(typeof(QueryExpression))]
[KnownTypeAttribute(typeof(QueryByAttribute))]
[KnownTypeAttribute(typeof(FetchExpression))]
[DataContractAttribute(Name = "QueryBase", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public abstract class QueryBase : IExtensibleDataObject
<KnownTypeAttribute(GetType(QueryExpression))>
<KnownTypeAttribute(GetType(QueryByAttribute))>
<KnownTypeAttribute(GetType(FetchExpression))>
<DataContractAttribute(Name := "QueryBase", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public MustInherit Class QueryBase
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_protmethod QueryBase()

Initializes a new instance of the QueryBase class.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(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 QueryExpression

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright