File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/FirebirdSql.EntityFrameworkCore.Firebird/Extensions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public static FbValueGenerationStrategy GetValueGenerationStrategy(this IPropert
3333 }
3434
3535 if ( property . ValueGenerated != ValueGenerated . OnAdd
36- || property . GetDefaultValue ( ) != null
36+ || property . TryGetDefaultValue ( out _ )
3737 || property . GetDefaultValueSql ( ) != null
3838 || property . GetComputedColumnSql ( ) != null )
3939 {
@@ -63,7 +63,7 @@ public static FbValueGenerationStrategy GetValueGenerationStrategy(this IMutable
6363 }
6464
6565 if ( property . ValueGenerated != ValueGenerated . OnAdd
66- || property . GetDefaultValue ( ) != null
66+ || property . TryGetDefaultValue ( out _ )
6767 || property . GetDefaultValueSql ( ) != null
6868 || property . GetComputedColumnSql ( ) != null )
6969 {
@@ -93,7 +93,7 @@ public static FbValueGenerationStrategy GetValueGenerationStrategy(this IConvent
9393 }
9494
9595 if ( property . ValueGenerated != ValueGenerated . OnAdd
96- || property . GetDefaultValue ( ) != null
96+ || property . TryGetDefaultValue ( out _ )
9797 || property . GetDefaultValueSql ( ) != null
9898 || property . GetComputedColumnSql ( ) != null )
9999 {
You can’t perform that action at this time.
0 commit comments