Steven Darby
Steven Darby
I don't understand how the proposed feature would work. If you add a new LineItem without having loaded any Orders or LineItems, what value would it use for OrderIndex?
@clement911 below the code highlighted in your second link, it seems like an interceptor is called and the exception is passed to it. Could you create a command failed interceptor...
Sorry @roji, I can't look at this any more
Can you compare to 6/7 on the same machine please? I'm particularly interested in the normal model compile time, which regressed in 8/9 compared to 6/7. https://github.com/dotnet/efcore/issues/33483#issuecomment-2053570775
@MylesBorins, a while ago you said in https://github.com/naugtur/npm-audit-resolver/issues/56#issuecomment-1098548779: > GitHub advisory ID will be stable. I'm working on getting rid of the mutability of the npm advisory ID. Is there...
@roji > I'm not sure it makes sense to have special logic distinguishing the SQL Server versions in EF for this case - just generating the SQL may be enough;...
@roji Here is some more info on [parameter sniffing](https://www.mssqltips.com/sqlservertip/3257/different-approaches-to-correct-sql-server-parameter-sniffing/). The answer to this [SO post](https://dba.stackexchange.com/questions/98118/composite-primary-key-in-multi-tenant-sql-server-database) - in particular section 4 and within that the "TenantID first" bullet point - talks...
I had a play around with replacing the RelationalParameterBasedSqlProcessor with a custom processor to achieve this and was successful - I think? I wouldn't use this in production without a...
Re: the specific multitenant use case I gave, the information in https://github.com/dotnet/efcore/issues/27922 suggests query plans in SQL Server are cached per user if the tables aren't fully qualified. So I...
Just a quick note, I tried the new `EF.Constant` in a query filter and that doesn't work either, i.e. it's ignored and parameterised anyway. ```C# using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using...