Class AutoGeneratedKey
- Namespace
- Breeze.Persistence
- Assembly
- Breeze.Persistence.dll
Server-generated keys for new entities
public class AutoGeneratedKey
- Inheritance
-
AutoGeneratedKey
- Inherited Members
Constructors
AutoGeneratedKey(object, dynamic)
Create using information from the EntityAspect sent from the client.
public AutoGeneratedKey(object entity, dynamic autoGeneratedKey)
Parameters
entityobjectautoGeneratedKeydynamic
Fields
AutoGeneratedKeyType
Type of key generation
public AutoGeneratedKeyType AutoGeneratedKeyType
Field Value
Entity
Entity to which this key applies
public object Entity
Field Value
PropertyName
Name of key property on the entity
public string PropertyName
Field Value
RealValue
Server-generated value of the key; set when it has been generated
public object? RealValue
Field Value
TempValue
Temporary value of the key, from the client; set when the entity is added
public object? TempValue
Field Value
Properties
Property
PropertyInfo of key property on the entity
public PropertyInfo Property { get; }