skip to Main Content

Postgresql – Can't cast database type timestamp without time zone to Instant

reservationLogs = await this.dbContext.ReservationLogs    .Where(r => r.ProcessedAt == null)    .Where(r => r.PropertyId == validPropertyId)    .OrderBy(r => r.CreatedAt).ThenBy(r => r.Operation)    .Take(200)    .ToListAsync(); some times with the same query i get the error ' Can't cast database type timestamp without time zone to Instant' note: CreatedAt nodaTime instane i am trying to find the exact reason

VIEW QUESTION
Back To Top
Search