简体   繁体   中英

Database for C# applications in Visual Studio 2013

I am planning a Visual Studio 2013 C# app. When I need to add a local database, the option that I have is a .mdf file to be added.

My question is: how to I deploy this application? Should I have SQL Server Express on the client machine? So how do I bundle SQL Server Express with the setup?

from my experience you need to install a SQL Server on your platform. The reason is for them to read the .mdf and ldf file.

for your deployment process you need to place the database and log files to a location and change your connection string (.config file).

Hope that helps. :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM