public IDbConnection GetConnection(string strConn) { var conn = new MySqliteConnection(strConn);//or Microsoft.Data.Sqlite.SqliteConnection conn.Open(); return(conn as SqliteConnection); }
public IDbConnection GetStaticConnection() { var conn = new MySqliteConnection(Connstr); //or Microsoft.Data.Sqlite.SqliteConnection //raw.sqlite3_backup_init(conn.Handle,) conn.Open(); return(conn as SqliteConnection); }
public IDbConnection GetConnection() { var conn = new MySqliteConnection(Connstr); //or Microsoft.Data.Sqlite.SqliteConnection //raw.sqlite3_backup_init(conn.Handle,) conn.Open(); var result = conn.Execute(""); return(conn as SqliteConnection); }