3

I have a Visual Studio 2012 Solution containing a SQL Server Database Project. I'm using Entity Framework 6 (Beta 1 currently) in my application.

Is there an initializer that allows me to spin up a database from the Database Project?

1 Answer 1

2

Solved it using DacServices, have to bundle the .dacpac with the app but overall it works as expected.

Sign up to request clarification or add additional context in comments.

2 Comments

Is it possible to get the schema differences from the database project and the target database?
@Gian I haven't tried it myself (DacPackage.Deploy automatically updates if desired), but it seems that DacServices.GenerateDeployScript does what you want: msdn.microsoft.com/en-us/library/hh753305.aspx - if not, look at GenerateCreateScript and GenerateDeployReport

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.