EventFlow icon indicating copy to clipboard operation
EventFlow copied to clipboard

Status on EventFlow.EntityFramework

Open LordLyng opened this issue 4 months ago • 1 comments

What's the current status on EventFlow.EntityFramework and the docs for it?

I'm quite new to Event Sourcing and find it rather difficult to wrap my head around how to structure ReadModels and so on when using EventFlow.EntityFramework - does anyone have a larger and more complex working sample using EventFlow.EntityFramework ?

LordLyng avatar Sep 09 '25 10:09 LordLyng

I haven't used the EF in production setting myself, I typically use the MSSQL packages to get more control of the integration. How you structure your read models is only somewhat dependent on your underlying technology. The general rule of thumb is to create read models that are optimized for the typical reads you do. You can then go all-in and create very specific read models for many use cases (that would make updating take longer) or try to create more generic read models. What suites your application best is really case-by-case. My suggestion is to start simple and get some experience, you can always make it more complicated after.

Since you are new, you might also benefit from browsing through this presentation https://github.com/rasmus/presentation-goto-2022

rasmus avatar Oct 11 '25 09:10 rasmus