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

Add CreateIfNeeded method to MsSqlEventStore class #1

Open
pjvds opened this issue Jun 21, 2010 · 3 comments
Open

Add CreateIfNeeded method to MsSqlEventStore class #1

pjvds opened this issue Jun 21, 2010 · 3 comments

Comments

@pjvds
Copy link
Owner

pjvds commented Jun 21, 2010

There should be an CreateIfNeeded method on the MsSqlEventStore that can be used to created the underlying database when it does not exists. This helps people to setup quickly.

@628426
Copy link
Contributor

628426 commented Feb 13, 2011

My 2c on this is to use the EF code first technology for MsSqlEventStore once it is out of CTP and into mainstream, it is perfect for this scenario as the schema never changes

@aweiker
Copy link
Contributor

aweiker commented Apr 2, 2011

I would rather not have to take a dependency on EF just to use ncqrs. I also don't think that there is enough to gain by moving to an ORM as the data access is simple enough. Of course this is just my 1c contribution to the thoughts on this.

@marcofranssen
Copy link

I use EF Code First for my ReadModels. I think it will be very usefull to use it also for creating the EventStore. Another great thing is you have intellisense on your queries (Linq). This will prevent issues like issue #63. People who don't want to use EF can simply use the current eventStore with a script. Dependency injection should be the solution to this.

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

4 participants