Condividi tramite


EntityObject.EntityKey Proprietà

Definizione

Ottiene o imposta la chiave per questo oggetto.

public:
 property System::Data::EntityKey ^ EntityKey { System::Data::EntityKey ^ get(); void set(System::Data::EntityKey ^ value); };
[System.ComponentModel.Browsable(false)]
[System.Runtime.Serialization.DataMember]
public System.Data.EntityKey EntityKey { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Runtime.Serialization.DataMember>]
member this.EntityKey : System.Data.EntityKey with get, set
Public Property EntityKey As EntityKey

Valore della proprietà

Oggetto EntityKey per questo oggetto.

Implementazioni

Attributi

Commenti

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

Non è possibile impostare la EntityKey proprietà dopo che un oggetto è associato a un oggetto ObjectContext.

Si applica a

Vedi anche