IEntityWithKey Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines an entity type that exposes an entity key.
public interface class IEntityWithKey
public interface IEntityWithKey
type IEntityWithKey = interface
Public Interface IEntityWithKey
- Derived
Remarks
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.
Properties
EntityKey |
Gets or sets the EntityKey for instances of entity types that implement this interface. |