This library allows users of Entity Framework Core (EF Core) to add events to their entity classes, i.e. the classes that EF Core maps to a database. It is useful if you have business rules that are triggered by a property changing, or an event such as receiving an customer order and you need to check some things before you can accept it.
This is an open source project (MIT license) available on GitHub and as a NuGet package. See ReleaseNotes for more information.
Documentation and links to articles can be found via the Documentation link.
The following image shows the three types of events and when they are called.
- Article about this event-driven architecture - good to get an idea of what the library is trying to do.
- The "how" and "why" of the EfCore.GenericEventRunner library - read this for detailed documentation.