Compartir por


EntityObject.EntityKey Propiedad

Definición

Obtiene o establece la clave de este objeto.

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

Valor de propiedad

EntityKey para este objeto.

Implementaciones

Atributos

Comentarios

Object Services usa la EntityKey propiedad para administrar objetos en el contexto del objeto.

No se puede establecer la EntityKey propiedad después de adjuntar un objeto a .ObjectContext

Se aplica a

Consulte también