Interface that defines an entity containing a key.
public interface IEntityWithKey
Gets or sets the EntityKey for instances of entity types that implement this interface.
System.Data.Entity.Core.Objects.DataClasses Namespace