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
public EntityTypeChanged.ChangeKindType ChangeKind { get; }
Property Value
EntityType
The IEntityType with changes
public IEntityType EntityType { get; }
Property Value
Key
The key removed if ChangeKind is Removed, otherwise it was added or updated
public object? Key { get; }
Property Value
KeyAdded
Helper to understand if the Key was added
public bool KeyAdded { get; }
Property Value
KeyRemoved
Helper to understand if the Key was removed
public bool KeyRemoved { get; }
Property Value
KeyUpdated
Helper to understand if the Key was updated
public bool KeyUpdated { get; }
Property Value
KeyUpserted
Helper to understand if the Key was added or updated
public bool KeyUpserted { get; }