EntityKey Class Breeze.sharp
Represents the primary key for an IEntity.
Inheritance Hierarchy

SystemObject
  Breeze.SharpEntityKey

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public class EntityKey : IComparable, IJsonSerializable

The EntityKey type exposes the following members.

Constructors

  NameDescription
Public methodEntityKey(EntityType, Object)
Constructs a new EntityKey. Each entity within an EntityManager will have a unique EntityKey.
Public methodEntityKey(Type, MetadataStore, Object)
Constructs a new EntityKey. Each entity within an EntityManager will have a unique EntityKey.
Top
Methods

  NameDescription
Public methodCompareTo
Public methodEquals
Determines whether two primary keys refer to the same entity.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToQuery
Constructs an untyped EntityQuery for a single entity based on this EntityKey.
Public methodToQueryT
Constructs a typed EntityQuery for a single entity based on this EntityKey.
Public methodToString
Returns a human readable representation of this Primary Key.
(Overrides ObjectToString.)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
Properties

  NameDescription
Public propertyClrType
Public propertyEntityType
The IEntity type associated with this primary key.
Public propertyValues
An array of values associated with individual properties of the key.
Top
See Also

Reference