IEntityEventService Interface
Assembly: PTS.EntityLayer.Events.dll
Syntax
public interface IEntityEventService : IStartupDependency
Properties
CurrentSender
Declaration
IEntityEventSender CurrentSender { get; }
Property Value
Methods
AddHandler(EntityEventHandler)
Declaration
void AddHandler(EntityEventHandler handler)
Parameters
AddHandlerRange(IEnumerable<EntityEventHandler>)
Declaration
void AddHandlerRange(IEnumerable<EntityEventHandler> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<EntityEventHandler> |
collection |
|
For<TEntity>()
Declaration
EntityEventHandler<TEntity> For<TEntity>()
Returns
Type Parameters
HandleEvent(EntityEntryEventArgs, IEntityEventSender)
Declaration
void HandleEvent(EntityEntryEventArgs args, IEntityEventSender sender)
Parameters
Type |
Name |
Description |
Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryEventArgs |
args |
|
IEntityEventSender |
sender |
|
MakeFor<TEntity>()
Declaration
EntityEventHandler<TEntity> MakeFor<TEntity>()
Returns
Type Parameters
RemoveSender()
Declaration
SetSender(IEntityEventSender)
Declaration
void SetSender(IEntityEventSender sender)
Parameters
Extension Methods