Hi,
I just started a new WebProject and would like to play a bit with DBKit.
When saving a new entry, I run into this line Connector->SaveRow (line 196):
CurrentRow = Connection.SelectSQL("SELECT * FROM " + Table + " WHERE rowid = " + rowID.ToString)
There is no field named “rowid” in my tables and, of course, it should not be mandatory to have one. This is SQLite stuff.
Then the variable rowID is set to 0 when the Exception about that missing “rwoid” field raises. The newly inserted rows primarykey in db is 5. So 0 seems wrong here.
Some lines later there is a similar query, but there the query is build in a way it could propably work (line 218):
CurrentRow = Connection.SelectSQL("SELECT * FROM " + Table + " WHERE " + PrimaryKeyColumn + " = " + PrimaryKeyValue)
So, after some minutes with dbkit, that seems really buggy or did I miss something?
Marius