I've written an app that uses Microsoft JET. So I have data adapters like:
daGenres = New OleDbDataAdapter(SQL & "Genres", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBName)
then I populate the tables with commands like:
daGenres.Fill(ds, "Genres")
objCB = New OleDbCommandBuilder(daGenres)
Dim objColGenres() As DataColumn = {ds.Tables("Genres").Columns.Item("ID")}
ds.Tables("Genres").PrimaryKey() = objColGenres
and then use table select commands to get collections of datarows that I want to work on and then access individual fields by:
title = row("title")
So if I wanted to switch to System.Data.SQLite, does this entail rewriting all my code that touches the database, or can SQLite use the OleDB constructs in VB.NET?
Thanks
Dan