-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Dotnet Drivers
Referring to the EF Core 7 features documented here:
https://learn.microsoft.com/en-us/ef/core/saving/execute-insert-update-delete
It's not clear if we should be able to use ExecuteUpdate() or ExecuteDelete(). The following code fails:
public async Task<Example> ExecuteUpdate(ExampleDto data) { _dbContext.Example.Where(x => x.Id.Equals(data.Id)) .ExecuteUpdate(entity => entity.SetProperty(update => update.SampleProperty, "new sample value") ); }
Error:
System.ArgumentException: 'must be reducible node'
If this is supposed to work I think we need clearer documentation on the main Quick Reference page.
If it isn't supported then it should be listed on the Limitations page.
- depends on
-
EF-165 Support for EF Core 9
- Backlog