Browse
Sample.LibCore.Data.RepositoriesEntityChangedEventArgs
.md
record

EntityChangedEventArgs<TEntity>

publicsealed
namespace Core.Data.Repositories; public sealed record EntityChangedEventArgs<TEntity>

Provides data for entity lifecycle events.

TEntityThe entity type.

EntityThe entity that changed.

KindThe kind of change.

Constructors

#public EntityChangedEventArgs(TEntity Entity, ChangeKind Kind)

Provides data for entity lifecycle events.

TEntityThe entity type.

EntityThe entity that changed.

KindThe kind of change.

Properties

#public TEntity Entity { get; init; }

The entity that changed.

#public ChangeKind Kind { get; init; }

The kind of change.