Condividi tramite


IEntityWithKey Interfaccia

Definizione

Definisce un tipo di entità che espone una chiave di entità.

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

Commenti

Questa interfaccia viene usata per esporre la chiave di entità a Object Services.

Object Services usa la EntityKey proprietà per gestire gli oggetti nel contesto dell'oggetto.

Per altre informazioni, vedere Risoluzione delle identità, Gestione dello stato e Rilevamentomodifiche e rilevamento delle modifiche nelle entità POCO.

Proprietà

Nome Descrizione
EntityKey

Ottiene o imposta l'oggetto EntityKey per le istanze di tipi di entità che implementano questa interfaccia.

Si applica a