Class EntityKey
- Namespace
- Breeze.Persistence
- Assembly
- Breeze.Persistence.dll
Unique identifier for an entity
public class EntityKey
- Inheritance
-
EntityKey
- Inherited Members
Constructors
EntityKey()
Create an empty key. Exists for deserialization, which fills in both members.
public EntityKey()
EntityKey(object, object)
Identify an entity by its type and key value.
public EntityKey(object entity, object key)
Parameters
entityobjectThe entity, from which the type name is taken.
keyobjectThe key value: a single value, or an array for a composite key.
Fields
EntityTypeName
The C# class name (Name:#Namespace) of the entity type
public string EntityTypeName
Field Value
KeyValue
The key (id) value of the entity. Maybe a single value or an array.
public object KeyValue