This project has moved and is read-only. For the latest updates, please go here.

Query returns always same result on WP7

Feb 6, 2011 at 3:06 PM

I have TaskCategory table registered in my WP7 app which has 3 records, when I query the table with following code.

It always returns last inserted record three times. Is it bug or am I doing something wrong?

var items = _database.Query<TaskCategory, int>();
foreach (var item in items)

Feb 6, 2011 at 4:55 PM

I had similar issues. Make sure you click on the "Source Code" tab above and get the latest version. That fixed the problem for me.