I have a SQL Server database which I can read from, is there a quick way I can turn it into an SQL Server CE database through C# or will I have to read in all the data then output it in SQL Server CE.
-
1Really depends on what your current database has, and uses -- some stuff isn't supported in CE.OMG Ponies– OMG Ponies2012-04-05 03:50:10 +00:00Commented Apr 5, 2012 at 3:50
-
so what have you tried? codeproject.com/Articles/25685/… or exportsqlce.codeplex.comJeremy Thompson– Jeremy Thompson2012-04-05 04:12:49 +00:00Commented Apr 5, 2012 at 4:12
Add a comment
|
1 Answer
You can use my SQL Server Compact scripting API, which will allow you to export a Server database to a script file, and run the resulting file against a SQL Server Compact database from your C# code. http://exportsqlce.codeplex.com/wikipage?title=Scripting%20API%20samples&referringTitle=Documentation