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

Using database #35

Closed
cmssantos opened this issue Jul 4, 2017 · 4 comments
Closed

Using database #35

cmssantos opened this issue Jul 4, 2017 · 4 comments

Comments

@cmssantos
Copy link

Hi, please, how can i use a database on sample?

@gautema
Copy link
Owner

gautema commented Jul 4, 2017

I'm a bit uncertain of what you want to know. Are you having trouble with the sample, or do you want to use a real database? In that case, what kind of database?

@cmssantos
Copy link
Author

Hi, using a real database, in this case SQL Server.
I do not know how to start a tables creation to write events. I have always worked with the reflection model or database.

@gautema
Copy link
Owner

gautema commented Jul 4, 2017

You can most likely start with storing all events and aggregates in one table.
https://lostechies.com/gabrielschenker/2015/07/13/event-sourcing-applied-the-repository/ Here is an example that should be easy to make work with the IEventStore api.

@cmssantos
Copy link
Author

Thank you. I'll work on this article.

@gautema gautema closed this as completed Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants