/EfCore.GenericEventRunner

A library to allow developer use events to update their database via Entity Framework Core (EF Core)

Primary LanguageC#MIT LicenseMIT

EfCore.GenericEventRunner

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.

Three types of events

The following image shows the three types of events and when they are called.

Three types of events

Useful articles