EntityKeyMember::Key Property

 

Gets or sets the name of the entity key.

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

public:
[DataMemberAttribute]
property String^ Key {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The key name.

.NET Framework
Available since 3.5
Return to top
Show: