EntityObject.EntityKey Propriedade

Definição

Obtém ou define a chave para esse objeto.Gets or sets the key for this object.

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 da propriedade

EntityKey

O EntityKey para este objeto.The EntityKey for this object.

Implementações

Atributos

Comentários

Serviços de Objeto usa a EntityKey propriedade para gerenciar objetos no contexto do objeto.Object Services uses the EntityKey property to manage objects in the object context.

Você não pode definir a EntityKey Propriedade depois que um objeto é anexado a um ObjectContext .You cannot set the EntityKey property after an object is attached to an ObjectContext.

Aplica-se a