I am using Sterling 1.6.2 from Nuget in a Windows Phone 8 project. When querying data using
_database.Query<Article, int, string>(Database.ARTICLE_INDEX)
.Where(l => l.Index == (int) type)
.Select(l => l.LazyValue.Value)
I sometimes get System.IO.EndOfStreamException. I do not exactly know how to reproduce it or when it happens, but when it happens once, then the database gets corrupted or something I cannot do any data anymore.