Freigeben über


EntityKeyMember.Key-Eigenschaft

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Der Schlüsselname.

Namespace:  System.Data.Entity.Core
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property Key As String 
    Get 
    Set
'Usage
Dim instance As EntityKeyMember 
Dim value As String 

value = instance.Key

instance.Key = value
[DataMemberAttribute]
public string Key { get; set; }
[DataMemberAttribute]
public:
property String^ Key {
    String^ get ();
    void set (String^ value);
}
[<DataMemberAttribute>]
member Key : string with get, set
function get Key () : String 
function set Key (value : String)

Eigenschaftswert

Typ: System.String

Siehe auch

Verweis

EntityKeyMember Klasse

System.Data.Entity.Core-Namespace