Compartilhar via


IEntity Interface

Represents an external content type such as Customer or Product, in a line-of-business (LOB) application.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public Interface IEntity _
    Inherits IDataClass, IAccessControlledMetadataObject, IMetadataObject, IMetadataStruct
'Usage
Dim instance As IEntity
public interface IEntity : IDataClass, 
    IAccessControlledMetadataObject, IMetadataObject, IMetadataStruct

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 LOB application, are referred to as external items. If your external content type maps to a database table, you can think of an external content type instance as a row.

Examples

Code Snippet: Get the DatabaseBackedMetadataCatalog on the Server

Code Snippet: Get the RemoteSharedFileBackedMetadataCatalog on the Client

Code Snippet: Execute a Finder Method Instance of an External Content Type

Code Snippet: Execute the AssociationNavigator Method Instance of an External Content Type for an Association Without a Foreign Key

Code Snippet: Execute the Associator and Disassociator Method Instances of an External Content Type

Code Snippet: Execute the BulkAssociationNavigator Method Instance of an External Content Type

See Also

Reference

IEntity Members

Microsoft.BusinessData.MetadataModel Namespace