Interface IDependentEntityCollection
Interface for dependent child entities that allows triggering logic before save and after save events.
Namespace: Benday.EfCore.SqlServer
Assembly: Benday.EfCore.SqlServer.dll
Syntax
public interface IDependentEntityCollection
Methods
| Edit this page View SourceAfterSave()
Call this method to perform logic after saving
Declaration
void AfterSave()
BeforeSave(DbContext)
Call this method to perform logic before saving
Declaration
void BeforeSave(DbContext dbContext)
Parameters
Type | Name | Description |
---|---|---|
DbContext | dbContext | EF Core database context instance to be used by the save operation |