-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TimeOnly.FromDateTime() could not be translated in EF Core 8 #33678
Labels
area-query
area-sqlserver
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-enhancement
Milestone
Comments
👀 |
Duplicate of #25103 |
@roji The duplicate is for SQlite, not SQL Server !? |
Oops, thanks @ErikEJ - acted too quickly. |
labels need to be adjusted also -> remove 'closed-duplicate' |
maumar
added a commit
that referenced
this issue
May 8, 2024
… Core 8 Adding translation for TimeOnly.FromDateTime and TimeOnly.FromTimeSpan. We already had support for DateOnly.FromDateTime. Fixes #33678
maumar
added a commit
that referenced
this issue
May 8, 2024
… Core 8 Adding translation for TimeOnly.FromDateTime and TimeOnly.FromTimeSpan. We already had support for DateOnly.FromDateTime. Fixes #33678
maumar
added a commit
that referenced
this issue
May 8, 2024
… Core 8 Adding translation for TimeOnly.FromDateTime and TimeOnly.FromTimeSpan. We already had support for DateOnly.FromDateTime. Fixes #33678
maumar
added a commit
that referenced
this issue
May 8, 2024
… Core 8 Adding translation for TimeOnly.FromDateTime and TimeOnly.FromTimeSpan. We already had support for DateOnly.FromDateTime. Fixes #33678
maumar
added a commit
that referenced
this issue
May 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-query
area-sqlserver
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-enhancement
TimeOnly.FromDateTime() does not work in query filtering.
It does work in projections.
Is this expected behaviour?
EF Core version: 8.0.4
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET 8
Operating system: Windows 10
IDE: Visual Studio 2022 17.9.6
sample code
stack trace
Projection works without any problems:
Note: DateOnly works without problems in filtering and projections:
The text was updated successfully, but these errors were encountered: