Closed MinhMit closed 1 year ago
Which version of EF are you using. Can you please try using EF6
Which version of EF are you using. Can you please try using EF6
Im using:
EF6. your mean is EF core 6.0 Preview?
@MinhMit Try using EF classic 6
@MinhMit Did using EF Classic 6 resolve your issue?
Closing this issue since it's been inactive for long @MinhMit Feel free to reopen incase the issue was not resolved
I'm developing a small project use postgresql and odata.
and i have an issue when use OrderBy with column has AddTickFunction
MyController:
I don't want use odata paramters because i need publish both restfull api with /api/languages url and odata /odata/languages url.
Handler
Truncate method:
Configurate:
It work fine when i use query without truncate datetime method. But i use column has truncate datetime method as CreatedTime, ModifiedBy, DeletedBy. Linq throw new exception
The LINQ expression 'DbSet<LanguageReadModel>()\n .Where(l => l.ModifiedTime\n .Truncate() > __TypedProperty_0)' could not be translated.
What can i do to resolve this issue?
Microsoft.AspNetCore.OData (8.0.1)
.NET 5
Thanks for your support.