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
33
33
}
34
34
35
35
if ( property . ValueGenerated != ValueGenerated . OnAdd
36
+ || property . IsForeignKey ( )
36
37
|| property . TryGetDefaultValue ( out _ )
37
38
|| property . GetDefaultValueSql ( ) != null
38
39
|| property . GetComputedColumnSql ( ) != null )
@@ -63,6 +64,7 @@ public static FbValueGenerationStrategy GetValueGenerationStrategy(this IMutable
63
64
}
64
65
65
66
if ( property . ValueGenerated != ValueGenerated . OnAdd
67
+ || property . IsForeignKey ( )
66
68
|| property . TryGetDefaultValue ( out _ )
67
69
|| property . GetDefaultValueSql ( ) != null
68
70
|| property . GetComputedColumnSql ( ) != null )
@@ -93,6 +95,7 @@ public static FbValueGenerationStrategy GetValueGenerationStrategy(this IConvent
93
95
}
94
96
95
97
if ( property . ValueGenerated != ValueGenerated . OnAdd
98
+ || property . IsForeignKey ( )
96
99
|| property . TryGetDefaultValue ( out _ )
97
100
|| property . GetDefaultValueSql ( ) != null
98
101
|| property . GetComputedColumnSql ( ) != null )
You can’t perform that action at this time.
0 commit comments