daniel-smith / domain-lib

2 stars 1 forks source link

Add EntityFramework adapter for projections #40

Closed jonclare closed 3 years ago

jonclare commented 3 years ago

Rather than using raw SQL, we can use an EF DbContext to allow clients to deal with entities directly.

This would help when writing queries against the read model database. The same entities can be used. One thing to be aware of is performance. If we're hydrating a read model from many events, we'll probably need to look into bulk operations.

jonclare commented 3 years ago

Initial implementation added