Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get started with SQL Server Compact 4.0?

I've downloaded the install files and ran them, I get some binaries in my program files folder and I've added a reference in my project to the dll. But how the heck to I create the .sdf file? It feels like I'm missing some sort of obvious clue...

Edit: This is an old question and the documentation and tooling is not available.

like image 918
noocyte Avatar asked Feb 26 '23 06:02

noocyte


1 Answers

Here's an example using the SqlCeEngine class to create a database and SqlCeConnection to start querying this database.

like image 63
Darin Dimitrov Avatar answered May 04 '23 20:05

Darin Dimitrov