次の方法で共有


Entity クラス

適用対象: CRM 2015 on-prem, CRM Online

Represents an instance of an entity (a record).

名前空間: Microsoft.Xrm.Sdk
アセンブリ: Microsoft.Xrm.Sdk (Microsoft.Xrm.Sdk.dll に含まれる)

構文

'宣言
<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

備考

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.

継承階層

System.Object
  Microsoft.Xrm.Sdk.Entity

スレッド セーフ

この種類のパブリックな静的 (Visual Basic では Shared) メンバーはスレッド セーフです。インスタンス メンバーがスレッド セーフであることは保証されません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows Vista、Windows XP

関連項目

参照

Entity のメンバー
Microsoft.Xrm.Sdk 名前空間

他のリソース

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.