We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d5eda commit 021270bCopy full SHA for 021270b
src/EFCore.Ydb/src/Metadata/Conventions/YdbValueGenerationConvention.cs
@@ -21,7 +21,9 @@ public class YdbValueGenerationConvention(
21
: table.Name != null
22
? GetValueGenerated(property, table)
23
: property.DeclaringType.IsMappedToJson()
24
+#pragma warning disable EF1001 // Internal EF Core API usage.
25
&& property.IsOrdinalKeyProperty()
26
+#pragma warning restore EF1001 // Internal EF Core API usage.
27
&& (property.DeclaringType as IReadOnlyEntityType)?.FindOwnership()!.IsUnique == false
28
? ValueGenerated.OnAddOrUpdate
29
: property.GetMappedStoreObjects(StoreObjectType.InsertStoredProcedure).Any()
0 commit comments