NotMyself / Simple.Data.Sqlite

A Sqlite Provider for Simple.Data
17 stars 14 forks source link

Error running the Get command #9

Closed jaguire closed 10 years ago

jaguire commented 11 years ago

Simple.data as a Get command. db.MyTable.Get(1) should get a single record by the primary key of the table. I am getting the error "Incorrect number of values for key".

My table is using the automatic RowId field as the primary key. I verified my data by doing a manual query. select top 1 * from MyTable where RowId = 1 works as expected.