I'm trying to access a SQLite Database with EntityFramework. When I try to query a field of type "timestamp" with LINQ I get a FormatException. I couldn't find a answer to this anyone else seems to work with regular sql queries. It may be Important that the DB is coming from an iOS app.
This is my code:
using (var db = new WorkTimesEntities())
{
var times = db.ZDAYs.ToList();
foreach (var item in times)
{
Console.WriteLine(item.ZDATEOFDAY+"\t"+item.ZDURATION+"\t"+item.ZMONTH);
}
}