Skip to content

Commit 021270b

Browse files
fix linter
1 parent f4d5eda commit 021270b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/EFCore.Ydb/src/Metadata/Conventions/YdbValueGenerationConvention.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ public class YdbValueGenerationConvention(
2121
: table.Name != null
2222
? GetValueGenerated(property, table)
2323
: property.DeclaringType.IsMappedToJson()
24+
#pragma warning disable EF1001 // Internal EF Core API usage.
2425
&& property.IsOrdinalKeyProperty()
26+
#pragma warning restore EF1001 // Internal EF Core API usage.
2527
&& (property.DeclaringType as IReadOnlyEntityType)?.FindOwnership()!.IsUnique == false
2628
? ValueGenerated.OnAddOrUpdate
2729
: property.GetMappedStoreObjects(StoreObjectType.InsertStoredProcedure).Any()

0 commit comments

Comments
 (0)