Represents the primary key for an IEntity.
Inheritance Hierarchy
Breeze.SharpEntityKey
Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
The EntityKey type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | EntityKey(EntityType, Object) |
Constructs a new EntityKey. Each entity within an EntityManager will have a unique EntityKey.
|
![]() | EntityKey(Type, MetadataStore, Object) |
Constructs a new EntityKey. Each entity within an EntityManager will have a unique EntityKey.
|
Methods
Name | Description | |
---|---|---|
![]() | CompareTo |
See CompareTo(Object).
|
![]() | Equals |
Determines whether two primary keys refer to the same entity.
(Overrides ObjectEquals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode |
See GetHashCode.
(Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToQuery |
Constructs an untyped EntityQuery for a single entity based on this EntityKey.
|
![]() | ToQueryT |
Constructs a typed EntityQuery for a single entity based on this EntityKey.
|
![]() | ToString |
Returns a human readable representation of this Primary Key.
(Overrides ObjectToString.) |
Operators
Name | Description | |
---|---|---|
![]() ![]() | Equality | |
![]() ![]() | Inequality |
Properties
Name | Description | |
---|---|---|
![]() | ClrType | |
![]() | EntityType |
The IEntity type associated with this primary key.
|
![]() | Values |
An array of values associated with individual properties of the key.
|
See Also