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.

TEntity—The entity type.

Entity—The entity that changed.

Kind—The kind of change.

Constructors

#public EntityChangedEventArgs(TEntity Entity, ChangeKind Kind)

Provides data for entity lifecycle events.

TEntity—The entity type.

Entity—The entity that changed.

Kind—The kind of change.

Properties

#public TEntity Entity { get; init; }

The entity that changed.

#public ChangeKind Kind { get; init; }

The kind of change.