Update MetadataParser.java
Updated to Set Nullable attribute to "true" as default value for a Navigation property that is not a collection or when a value is not provided
This commit is contained in:
parent
ec009caa64
commit
125a53a09e
|
@ -915,7 +915,7 @@ public class MetadataParser {
|
|||
property.setName(attr(element, "Name"));
|
||||
property.setType(readType(element));
|
||||
property.setCollection(isCollectionType(element));
|
||||
property.setNullable(Boolean.parseBoolean(attr(element, "Nullable")));
|
||||
property.setNullable(Boolean.parseBoolean(attr(element, "Nullable") == null ? "true" : attr(element, "Nullable")));
|
||||
property.setPartner(attr(element, "Partner"));
|
||||
property.setContainsTarget(Boolean.parseBoolean(attr(element, "ContainsTarget")));
|
||||
|
||||
|
|
Loading…
Reference in New Issue