Andriy Svyryd

Results 135 comments of Andriy Svyryd

Related: https://github.com/dotnet/efcore/issues/26218

Related: https://github.com/dotnet/efcore/issues/27549

We could split the command into Delete and Insert for owned types mapped to a separate table, but for table splitting the best we can do is to send an...

https://github.com/dotnet/efcore/issues/16143, but we can keep this one separate

We need to start a convention batch and track the FK when the conventions need to run

For .NET 6: https://docs.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming

Also take https://github.com/dotnet/runtime/issues/61231 into account. https://github.com/hez2010/EFCore.NativeAOT is a sample app that shows the common things that need to be configured. c6518887a89ea72c96236e42900f4427cc24858a contains our initial stab at this

Do you have any specific scenarios in mind where it might not work?

~@llRandom Can you provide the above repro as a complete project? Just using the code doesn't result in an exception (just an unrelated warning on Sqlite)~ Turning on NRT triggers...

@SidShetye If you only need uniqueness use a unique index instead of an AK