KorzhCom / EasyData

Adaptive CRUD for ASP.NET Core. With EasyData you can get both API endpoints and client-side UI for all CRUD operations in a matter of minutes using just your DbContext and a few lines of code.
MIT License
594 stars 63 forks source link

Pre-processing entity before save to db #155

Open kaban4ik1994 opened 2 years ago

kaban4ik1994 commented 2 years ago

Hello,

For of all, thank you guys for creating and supporting this great library!

I'm looking some hook to modify entity before saving it to DB. Use case: compress image before saving it to db.

Is that possible to do with current implementation? Could you please suggest how that can be done?