File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/FirebirdSql.EntityFrameworkCore.Firebird/Extensions Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ public static FbValueGenerationStrategy GetValueGenerationStrategy(this IPropert
3333 }
3434
3535 if ( property . ValueGenerated != ValueGenerated . OnAdd
36+ || property . IsForeignKey ( )
3637 || property . TryGetDefaultValue ( out _ )
3738 || property . GetDefaultValueSql ( ) != null
3839 || property . GetComputedColumnSql ( ) != null )
@@ -63,6 +64,7 @@ public static FbValueGenerationStrategy GetValueGenerationStrategy(this IMutable
6364 }
6465
6566 if ( property . ValueGenerated != ValueGenerated . OnAdd
67+ || property . IsForeignKey ( )
6668 || property . TryGetDefaultValue ( out _ )
6769 || property . GetDefaultValueSql ( ) != null
6870 || property . GetComputedColumnSql ( ) != null )
@@ -93,6 +95,7 @@ public static FbValueGenerationStrategy GetValueGenerationStrategy(this IConvent
9395 }
9496
9597 if ( property . ValueGenerated != ValueGenerated . OnAdd
98+ || property . IsForeignKey ( )
9699 || property . TryGetDefaultValue ( out _ )
97100 || property . GetDefaultValueSql ( ) != null
98101 || property . GetComputedColumnSql ( ) != null )
You can’t perform that action at this time.
0 commit comments