IEntityWithKey IEntityWithKey IEntityWithKey IEntityWithKey Interface


Defines an entity type that exposes an entity key.

public interface class IEntityWithKey
public interface IEntityWithKey
type IEntityWithKey = interface
Public Interface IEntityWithKey


This interface is used to expose the entity key to Object Services.

Object Services uses the EntityKey property to manage objects in the object context.

For more information, see Identity Resolution, State Management, and Change Tracking and Tracking Changes in POCO Entities.


EntityKey EntityKey EntityKey EntityKey

Gets or sets the EntityKey for instances of entity types that implement this interface.

Applies to