EntityObject::EntityKey Property
.NET Framework (current version)
Gets or sets the key for this object.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
public: [BrowsableAttribute(false)] [DataMemberAttribute] property EntityKey^ EntityKey { virtual EntityKey^ get() sealed; virtual void set(EntityKey^ value) sealed; }
Implements
IEntityWithKey::EntityKeyObject Services uses the EntityKey property to manage objects in the object context.
You cannot set the EntityKey property after an object is attached to an ObjectContext.
.NET Framework
Available since 3.5
Available since 3.5
Show: