Would anyone mind explaining (or pointing me to a tutorial) how to setup an SQL embedded server with Visual Studio Express edition?
I’m not concerned with getting the Designer tab working, but I’m trying to achieve a few basic things:
- Access the database via file path
- read/write to database file
- password to connect to database (not too big of an issue)
The solution I’ve been pointed to was SQLite to do so, and have seen ADO.Net and Entity Framework to connect the file to the project. So I guess a few important aspects would be that once I set the database up with the project can I
- send the projects back and forth to multiple developers?
- who are on different computers who have not installed any SQL
related anything? - And is SQLite a viable solution for this?
I’ve been trying to get a working solution for about 7 hours now.
I suggest you, use SqlCompact 4.0 instead of Sqlite.
You can download SqlCompact 4.0 from Microsoft download center. Also you can easily transfer database between machines. Read about Private Deployment here. And finally an awesome toolbox for using SqlCompact 4.0 stand alone or addons for Visual Studio