EntityKey Class
Represents an identifier for an entity.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | EntityKey() | Initializes a new instance of the EntityKey class. |
![]() | EntityKey(String, IEnumerable<EntityKeyMember>) | Initializes a new instance of the EntityKey class with the given key values. |
![]() | EntityKey(String, IEnumerable<KeyValuePair<String, Object>>) | Initializes a new instance of the EntityKey class with the given key values. |
![]() | EntityKey(String, String, Object) | Initializes a new instance of the EntityKey class with the given single key name and value. |
Name | Description | |
---|---|---|
![]() | EntityContainerName | Gets or sets the EntityContainer name identifying the entity container that contains the entity. |
![]() | EntityKeyValues | Gets or sets the key values that identify the entity. |
![]() ![]() | EntityNotValidKey | Gets a singleton EntityKey identifying an entity resulted from a failed TREAT. |
![]() | EntitySetName | Gets or sets the EntitySet name identifying the entity set that contains the entity. |
![]() | IsTemporary | Gets a value indicating whether this key is a temporary key. |
![]() ![]() | NoEntitySetKey | Gets a singleton EntityKey by which a read-only entity is identified. |
Name | Description | |
---|---|---|
![]() | Equals(EntityKey) | Indicates a value whether this instance is equal to the given key. |
![]() | Equals(Object) | Indicates a value whether this instance is equal to the given key.(Overrides Object.Equals(Object).) |
![]() | GetEntitySet(MetadataWorkspace) | Gets the entity set for this entity key from the given metadata workspace, by entity container name and entity set name. |
![]() | GetHashCode() | Returns a value-based hash code, to allow EntityKey to be used in hash tables.(Overrides Object.GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | OnDeserialized(StreamingContext) | Calls after this EntityKey has been deserialized. |
![]() | OnDeserializing(StreamingContext) | Calls after this EntityKey has been deserialized. |
![]() | ToString() | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | Equality(EntityKey, EntityKey) | Indicates a value whether the two keys are equal. |
![]() ![]() | Inequality(EntityKey, EntityKey) | Indicates a value whether the two keys are not equal. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.