Hello, I trying to compare two dates (DateTime) in nhibernate linq: query = query.Where(l => (l.datCriacao.Date == dtLote.Date)
but the error: NHibernate.QueryException: could not resolve property: datCriacao.Date of: SAGP.Entities.Lote
anyone knows how I can solve this?
tks