EntityObject.EntityKey Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit la clé de cet objet.
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
Valeur de propriété
Pour EntityKey cet objet.
Implémente
- Attributs
Remarques
Object Services utilise la EntityKey propriété pour gérer les objets dans le contexte de l’objet.
Vous ne pouvez pas définir la EntityKey propriété une fois qu’un objet est attaché à un ObjectContext.