Kongsi melalui


EntityCollection Class

 

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

Contains a collection of entity instances.

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.EntityCollection

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod EntityCollection()

Initializes a new instance of the EntityCollection class.

System_CAPS_pubmethod EntityCollection(IList<Entity>)

Initializes a new instance of the EntityCollection class setting the list of entities.

Properties

Name Description
System_CAPS_pubproperty Entities

Gets the collection of entities.

System_CAPS_pubproperty EntityName

Gets or sets the logical name of the entity.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty Item[Int32]

Gets or sets an item in the collection.

System_CAPS_pubproperty MinActiveRowVersion

Gets or sets the lowest active row version value.

System_CAPS_pubproperty MoreRecords

Gets or sets whether there are more records available.

System_CAPS_pubproperty PagingCookie

Gets or sets the current paging information.

System_CAPS_pubproperty TotalRecordCount

Gets the total number of records in the collection.ReturnTotalRecordCount was true when the query was executed .

System_CAPS_pubproperty TotalRecordCountLimitExceeded

Gets or sets whether the results of the query exceeds the total record count.

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 Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright