Table of Contents

Struct EntityTypeChanged

Namespace
MASES.EntityFrameworkCore.KNet.Storage
Assembly
MASES.EntityFrameworkCore.KNet.dll

The event data informing about changes on an IEntityType using the OnChangeEvent event handler

public readonly struct EntityTypeChanged
Inherited Members

Properties

ChangeKind

The Removed if Key was deleted, otherwise Key was added or updated

public EntityTypeChanged.ChangeKindType ChangeKind { get; }

Property Value

EntityTypeChanged.ChangeKindType

EntityType

The IEntityType with changes

public IEntityType EntityType { get; }

Property Value

IEntityType

Key

The key removed if ChangeKind is Removed, otherwise it was added or updated

public object? Key { get; }

Property Value

object

KeyAdded

Helper to understand if the Key was added

public bool KeyAdded { get; }

Property Value

bool

KeyRemoved

Helper to understand if the Key was removed

public bool KeyRemoved { get; }

Property Value

bool

KeyUpdated

Helper to understand if the Key was updated

public bool KeyUpdated { get; }

Property Value

bool

KeyUpserted

Helper to understand if the Key was added or updated

public bool KeyUpserted { get; }

Property Value

bool