EF6 Oracle TimeStamp & Date
问题 I'm starting to use EntityFramework 6 with Oracle (client 12.x). I have severals tables with DATE columns and TIMESTAMP columns. All queries generated by EF6 convert .NET DateTime type to TIMESTAMP. So the query performance is very poor. I tried to add a precision to 0 for the DATETIME columns but nothing changes on the generated query. Property(_ => _.MyDate).HasColumnName("DATE_COLUMN").HasPrecision(0); How can I specify in my code to translate my where clause by a TO_DATE function and not