Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EntityFramework support #260

Closed
rasmus opened this issue Oct 27, 2016 · 13 comments
Closed

EntityFramework support #260

rasmus opened this issue Oct 27, 2016 · 13 comments

Comments

@rasmus
Copy link
Member

rasmus commented Oct 27, 2016

Provide NuGet package that enables MS Entity Framwork

Create another repo.

If anyone wants to be maintainer on such a package and get it hosted in the EventFlow org. Let me know.

@rasmus rasmus changed the title EctityFramework support EntityFramework support Oct 27, 2016
@jpitchardu
Copy link

I could help you with this, but I need more information.

@rasmus
Copy link
Member Author

rasmus commented Oct 30, 2016

@pichardoSoftware That would be great!

  • The EF support is basically two parts, event persistance and read model support. I suggest you pick one and focus on that and get that PR finished first
  • The project should be called EventFlow.EntityFramework and should contain both read model and event persistance support
  • Have a look at the EventFlow.MsSql project source layout, it should be something like that
  • Be sure to create integration tests. Its faily simple as there's a "suite" of tests that you can inherit from (https://github.com/eventflow/EventFlow/tree/develop/Source/EventFlow.TestHelpers/Suites). All the other projects use those for integration tests, so there should be some good examples
  • Don't put any effort into updating build scrips and NuSpec files, as I hope to be able to close Paket templates #257 soon and thereby making it much easier

If you have any questions, please ask. I preparing to move to a new house with the next three weeks, so I will not be able to provide that much in-depth support, but I'll try to answer any questions ASAP.

@rasmus
Copy link
Member Author

rasmus commented Oct 30, 2016

Forgot some basic stuff

  • Event persistence, create implementation of IEventPersistence
  • Read model support, implement ReadModelStore<>

You can have a look at the in-memory or MSSQL implementations for some general idea on how to do it

@jpitchardu
Copy link

Ok, I'll check it out

@rasmus
Copy link
Member Author

rasmus commented Oct 31, 2016

@pichardoSoftware PR #257 is closed now and will make it easier to get started on new projects

@rasmus
Copy link
Member Author

rasmus commented Nov 7, 2016

@pichardoSoftware If you had problems working with EventFlow due to git lfs, give it another go as it has been removed

@frankebersoll
Copy link
Contributor

I have a working implementation for Entity Framework 6 persistence and read models.

  • Would people use this (our company does)?
  • EF6 / EF Core / Why not both?

@wgtmpeters
Copy link
Contributor

We are actually interested in this as well. Maybe you can get a branch up and running. If there is any help needed I might contribute as well.

@rasmus
Copy link
Member Author

rasmus commented Jun 13, 2018

I have received a few requests on it by mail as well

@wgtmpeters
Copy link
Contributor

@frankebersoll Do you have any plans for setting up branch for this? We would really like to use this as well.

@frankebersoll
Copy link
Contributor

@wgtmpeters Are you using EF Core or EF6? Could you briefly explain, how you would expect to use EventFlow together with Entity Framework? What DB do you use?

@wgtmpeters
Copy link
Contributor

@frankebersoll we are using EF core in combination with Postgres.

@rasmus
Copy link
Member Author

rasmus commented Jun 24, 2020

Released

@rasmus rasmus closed this as completed Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants