REX HENDERSON
REX HENDERSON
It's EF 7. I'll get a better repro together.
I discovered the issue affects specifically Keyless Entities. Here's a Repro: SQL 2019 Net Core 7.0 ```csharp #nullable disable using System; using System.Reflection; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.Extensions.Logging; var...
Apparently when the entity has a key the SQL produced has a valid column name: ``` SELECT COUNT(*) FROM ( SELECT TOP(@__p_0) [t].[Id] FROM [dbo].[Contacts] AS [t] ) AS [t0]...
Same issue here. Thanks for this fix.