Compartilhar via


Classe Entity

Aplica-se a: CRM 2015 on-prem, CRM Online

Represents an instance of an entity (a record).

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

Sintaxe

'Declaração
<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

Comentários

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.

Hierarquia de Herança

System.Object
  Microsoft.Xrm.Sdk.Entity

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Consulte também

Referência

Membros de Entity
Namespace Microsoft.Xrm.Sdk

Outros recursos

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.