简体   繁体   中英

How to create a local database in Visual Studio 2015 Community?

I'm new to C# and SQL and I'm trying to add a .sdf file into my project in Visual Studio 2015, but I'm not finding it in the add file tab. I only find service-based database, but I want a local database, how do I do it? Thanks in advance!

.sdf files are SQL Server CE (Compact Edition) files.

SQL Server CE is no longer being supported and developed by Microsoft, and doesn't have any tooling inside Visual Studio.

You can however download and install SQL Server CE Toolbox which is a stand-alone tool, and also integrated into Visual Studio, for handling all things SQL Server CE.

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