is there a way to "learn" SQLiteCommand to understand a field definition like the following
Code: Select all
CREATE TABLE test (value INTEGER DEFAULT NULL);
Code: Select all
SQLiteConnection database = new SQLiteConnection(@"DataSource=test.sqlite");
database.Open();
SQLiteCommand cmd = new SQLiteCommand(@"SELECT * from test", database);
DataTable table = new DataTable();
table.Load(cmd.ExecuteReader());
Code: Select all
CREATE TABLE test (value INTEGER);