Permalink
Browse files

Merge remote-tracking branch 'remotes/origin/GRAPHDB-525_PS'

  • Loading branch information...
2 parents a5547ab + c7bebdc commit b7cb6b59402d00d980d10057ff122c3f2289c9a8 @sunlounger sunlounger committed Dec 7, 2011
@@ -2163,6 +2163,18 @@ private LinkedList<VertexTypePredefinition> ConvertLinkedList(IEnumerable<ATypeP
var defaultValue = property.DefaultValue;
+ var mandatoryConstraintUpdate = new VertexUpdateDefinition(null,
+ new StructuredPropertiesUpdate(
+ new Dictionary<long, IComparable>
+ { { (long)AttributeDefinitions.PropertyDotIsMandatory,
+ true } }));
+
+ _vertexManager.ExecuteManager.VertexStore.UpdateVertex(mySecurityToken,
+ myTransactionToken,
+ property.ID,
+ (long)BaseTypes.Property,
+ mandatoryConstraintUpdate);
+
//get new mandatory value and set it
if (aMandatory.DefaultValue != null)
{

0 comments on commit b7cb6b5

Please sign in to comment.