Arthur Vickers

Results 1127 comments of Arthur Vickers

Confirmed this is a bug on EF9--full code below. This is a regression from EF8 where we were still inlining constants for `Contains`: Query generated by EF8: ``` info: 11/13/2024...

Note for anyone looking for a workaround, using an object array for the parameters also works: ```C# object[] types = ["Menu", "Regular"]; Puffin[] results = await context.Products .Where(p => types.Contains(p.Type))...

Note for team: a proper fix for this requires implementation of #34026. Initial investigation of this issue is not showing any promising paths for a patch-safe fix, but there is...

@xenophilios Technically it is not, but it is closely related. We will clarify.

See also discussion in https://github.com/dotnet/efcore/issues/19035

Duplicate of dotnet/efcore#19021. Please share a VS solution that reproduces this issue.

**EF Team Triage:** Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it. *BTW this is a canned response and...

Note from triage: moving to docs repo to document that starting threads could cause this.

@roji Does this include `DisposeAsync`? Should we always show `await using`?