Version: 4.3

Class: ChangeSet<T, T>

Type parameters

NameType
TAnyEntity<T>
TAnyEntity<T>

Hierarchy

  • ChangeSet

Constructors

constructor

+ new ChangeSet(entity: T, type: ChangeSetType, payload: EntityData<T>, meta: EntityMetadata<T>): ChangeSet

Defined in packages/core/src/unit-of-work/ChangeSet.ts:3

Parameters:

NameType
entityT
typeChangeSetType
payloadEntityData<T>
metaEntityMetadata<T>

Returns: ChangeSet

Properties

collection

collection: string

Defined in packages/core/src/unit-of-work/ChangeSet.ts:19


entity

entity: T

Defined in packages/core/src/unit-of-work/ChangeSet.ts:5

Defined in packages/core/src/unit-of-work/ChangeSet.ts:21


name

name: string

Defined in packages/core/src/unit-of-work/ChangeSet.ts:17


originalEntity

Optional originalEntity: EntityData<T>

Defined in packages/core/src/unit-of-work/ChangeSet.ts:24


payload

payload: EntityData<T>

Defined in packages/core/src/unit-of-work/ChangeSet.ts:7

Defined in packages/core/src/unit-of-work/ChangeSet.ts:22


persisted

persisted: boolean

Defined in packages/core/src/unit-of-work/ChangeSet.ts:23


rootName

rootName: string

Defined in packages/core/src/unit-of-work/ChangeSet.ts:18


type

type: ChangeSetType

Defined in packages/core/src/unit-of-work/ChangeSet.ts:6

Defined in packages/core/src/unit-of-work/ChangeSet.ts:20

Last updated on by Martin Adámek