Here is the Linq:
Code: Select all
var logoffs = from off in ctxSiebel.DbaAuditTrails
where off.Timestamp >= semana.DtInicioSemana
&& EntityFunctions.TruncateTime(off.Timestamp) = :p__linq__0) AND ((TruncateTime("Extent1".TIMESTAMP)) <= :p__linq__1)
GROUP BY "Extent1".TIMESTAMP
) "GroupBy1"
What is worng? Canonical functions are not supported?
Best Regards,
Henrique