Beispiel #1
0
 static SQLiteConnection MakeConn()
 {
     var conn = new SQLiteConnection(string.Format("data source={0};version=3;", filename));
     conn.Open();
     conn.Execute("PRAGMA foreign_keys=ON", new { });
     return conn;
 }