Classe Entity
Si applica a: CRM 2015 on-prem, CRM Online
Represents an instance of an entity (a record).
Spazio dei nomi: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Sintassi
'Dichiarazione
<DataContractAttribute(Name:="Entity", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts")> _
<DefaultMemberAttribute("Item")> _
<SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification:="This class need to be instantiated by clients and be able to derive from it.")> _
Public Class Entity
Implements IExtensibleDataObject
[DataContractAttribute(Name="Entity", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts")]
[DefaultMemberAttribute("Item")]
[SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification="This class need to be instantiated by clients and be able to derive from it.")]
public class Entity : IExtensibleDataObject
Note
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.
Gerarchia ereditarietà
System.Object
Microsoft.Xrm.Sdk.Entity
Thread Safety
Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.
Piattaforme
Piattaforme di sviluppo
Windows Vista, Windows Server 2003 e
Piattaforme di destinazione
Windows Vista,Windows XP
Vedere anche
Riferimento
Membri Entity
Spazio dei nomi Microsoft.Xrm.Sdk
Altre risorse
Use the Early Bound Entity Classes in Code
Use the Late Bound Entity Class in Code
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.