Επεξεργασία

Κοινή χρήση μέσω


IEntityWithKey Interface

Definition

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.

Applies to