Solved

How to deploy LocalDB to SQL Server 2012

Posted on 2016-09-17
4
70 Views
Last Modified: 2016-09-17
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
Comment
Question by:canuckconsulting
  • 2
  • 2
4 Comments
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 41803081
Connection string
"Server=(localdb)\\Test;Integrated Security=true;AttachDbFileName= myDbFile;"
0
 

Author Comment

by:canuckconsulting
ID: 41803089
David I don't think I understand what you are trying to convey.  Would you please elaborate?

Thanks,

Scott
0
 
LVL 80

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 41803095
How can I deploy my LocalDB schema and seeds to the production server?   Publish your application to the production server.
0
 

Author Closing Comment

by:canuckconsulting
ID: 41803385
Well that was easy...cheers!
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question