Nullable ignored on AllowNull test
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -111,7 +111,7 @@ namespace DynamORM.Mapper
|
|||||||
|
|
||||||
Column = attr;
|
Column = attr;
|
||||||
|
|
||||||
if (attr != null && attr.AllowNull && Type.IsNullableType())
|
if (attr != null && attr.AllowNull && !Type.IsNullableType())
|
||||||
attr.AllowNull = false;
|
attr.AllowNull = false;
|
||||||
|
|
||||||
if (property.CanRead)
|
if (property.CanRead)
|
||||||
|
|||||||
Reference in New Issue
Block a user