Del via


Entity-klasse

Represents an instance of an entity (a record).

Navneområde: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)

Syntaks

'Deklaration
<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

Bemærkninger

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.

Nedarvningshierarki

System.Object
  Microsoft.Xrm.Sdk.Entity

Sikkerhed i tråd

Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.

Platforme

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

Se også

Reference

Entity-medlemmer
Microsoft.Xrm.Sdk-navneområde

Andre ressourcer

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.