Entity Class
Represents a data type such as Customer or Product in an external system application.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.BusinessData.Administration.MetadataObject
Microsoft.SharePoint.BusinessData.Administration.AccessControlledMetadataObject
Microsoft.SharePoint.BusinessData.Administration.IndividuallySecurableMetadataObject
Microsoft.SharePoint.BusinessData.Administration.Entity
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class Entity _
Inherits IndividuallySecurableMetadataObject _
Implements IEntityReference
'Usage
Dim instance As Entity
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class Entity : IndividuallySecurableMetadataObject,
IEntityReference
Remarks
External content types contain identifiers, methods, and actions. External content types can also have other related external content types associated with them. For example, Customers and Order external content types in the AdventureWorks system have an association because they share a relationship: customers make orders. This relationship is implemented as an association in the metadata.
The business objects, for example, customer #88697 and order #1000 in the external system application, are referred to as external items. If your external content type maps to a database table, you can think of an external item as a row.
Examples
Code Snippet: Create an External Content Type Using the Administration Object Model
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.