How to deploy LocalDB to SQL Server 2012

canuckconsulting
canuckconsulting used Ask the Experts™
on
I've created a .net mvc solution using code-first entity framework v6.  I'm ready to deploy this solution to SQL Server 2012.  How can I deploy my LocalDB schema and seeds to the production server?  

Future updates will no doubt also modify the schema (new tables, new columns, new seed data).  How can I sync the changes I make to LocalDB to SQL Server 2012?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
Connection string
"Server=(localdb)\\Test;Integrated Security=true;AttachDbFileName= myDbFile;"

Author

Commented:
David I don't think I understand what you are trying to convey.  Would you please elaborate?

Thanks,

Scott
Top Expert 2016
Commented:
How can I deploy my LocalDB schema and seeds to the production server?   Publish your application to the production server.

Author

Commented:
Well that was easy...cheers!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial