Partager via


QueryByAttribute Members

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Contains a query that is expressed as a set of attribute and value pairs.

The following tables list the members exposed by the QueryByAttribute type.

Public Constructors

  Name Description
  QueryByAttribute Overloaded. Initializes a new instance of the QueryByAttribute class.

Top

Public Properties

  Name Description
public property Attributes Gets the set of attributes selected in the query.
public property ColumnSet Gets or sets the column set.
public property EntityName Gets or sets the logical name of the entity to query.
public property ExtensionData  Gets or sets the structure that contains extra data. (inherited from QueryBase)
public property Orders Gets the order in which the entity instances are returned from the query.
public property PageInfo Gets or sets the number of pages and the number of entity instances per page returned from the query.
public property TopCount Gets or sets the number of rows to be returned.
public property Values Gets the attribute values to look for when the query is executed.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method AddAttributeValue Adds an attribute value to the attributes collection.
public method AddOrder Adds an order to the orders collection.
public method Equals  (inherited from Object)
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public method ToString  (inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

See Also

Reference

QueryByAttribute Class
Microsoft.Xrm.Sdk.Query Namespace

Other Resources

Build Queries with QueryExpression
Sample: Retrieve Multiple with Query By Attribute

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.