Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/GRAPHDB-525_PS'
Browse files Browse the repository at this point in the history
  • Loading branch information
sunlounger committed Dec 7, 2011
2 parents a5547ab + c7bebdc commit b7cb6b5
Showing 1 changed file with 12 additions and 0 deletions.
Expand Up @@ -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)
{
Expand Down

0 comments on commit b7cb6b5

Please sign in to comment.