Table of Contents

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

entity object

The entity, from which the type name is taken.

key object

The 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

string

KeyValue

The key (id) value of the entity. Maybe a single value or an array.

public object KeyValue

Field Value

object