Freigeben über


Entity Klasse

Represents an instance of an entity (a record).

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

Syntax

'Declaration
<DataContractAttribute(Name:="Entity", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts")> _
<SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification:="This class need to be instantiated by clients and be able to derive from it.")> _
<DefaultMemberAttribute("Item")> _
Public Class Entity
    Implements IExtensibleDataObject
[DataContractAttribute(Name="Entity", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts")] 
[SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification="This class need to be instantiated by clients and be able to derive from it.")] 
[DefaultMemberAttribute("Item")] 
public class Entity : IExtensibleDataObject

Anmerkungen

Entity is the base class for all types of entities in Microsoft Dynamics CRM. You use this class for both early and late bound programming.

Vererbungshierarchie

System.Object
  Microsoft.Xrm.Sdk.Entity

Thread-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

Entity Mitglieder
Microsoft.Xrm.Sdk Namespace

Weitere Ressourcen

Use the Early Bound Entity Classes in Code
Use the Late Bound Entity Class in Code

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