I want to create an application and for that I need to have a database. By searching Google I came to know that for my purpose SQL localdb will be good as it is light and fast. Kindly tell me the procedure for embedding this database in my program. I want to create a desktop application which can run on any Windows machine.
Sql CE may be a good fit. Scott Guthrie posted about implementing this - http://weblogs.asp.net/scottgu/archive/2011/01/11/vs-2010-sp1-and-sql-ce.aspx
you can use Siaqodb,it is a C# written db and it is designed for embedded envs - http://siaqodb.com
来源:https://stackoverflow.com/questions/11144838/embedding-a-sql-localdb-database-in-c-net