Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

How to deploy LocalDB to SQL Server 2012

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?
0
canuckconsulting
Asked:
canuckconsulting
  • 2
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
Connection string
"Server=(localdb)\\Test;Integrated Security=true;AttachDbFileName= myDbFile;"
0
 
canuckconsultingAuthor Commented:
David I don't think I understand what you are trying to convey.  Would you please elaborate?

Thanks,

Scott
0
 
David Johnson, CD, MVPOwnerCommented:
How can I deploy my LocalDB schema and seeds to the production server?   Publish your application to the production server.
0
 
canuckconsultingAuthor Commented:
Well that was easy...cheers!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now