/// <summary> /// /// </summary> /// <param name="myStore"></param> /// <param name="myVertexID"></param> /// <param name="myVertexTypeID"></param> /// <param name="myEdition"></param> /// <param name="myComment"></param> /// <param name="myEdges"></param> /// <param name="myStructuredProperties"></param> /// <param name="myUnstructuredProperties"></param> private IVertex Store( IVertexStore myStore, VertexInformation mySource, String myComment, Int64 myCreationDate, IDictionary <Tuple <Int64, Int64>, VertexInformation> mySingleEdges, IDictionary <Tuple <Int64, Int64>, IEnumerable <VertexInformation> > myHyperEdges, IDictionary <Int64, IComparable> myStructuredProperties, IDictionary <String, Object> myUnstructuredProperties, SecurityToken mySecurity, Int64 myTransaction) { VertexAddDefinition def = new VertexAddDefinition( mySource.VertexID, mySource.VertexTypeID, mySource.VertexEditionName, CreateHyperEdgeDefinitions(myHyperEdges, mySource, myCreationDate), CreateSingleEdgeDefinitions(mySingleEdges, mySource, myCreationDate), null, null, myComment, myCreationDate, myCreationDate, myStructuredProperties, myUnstructuredProperties); return(myStore.AddVertex(mySecurity, myTransaction, def)); }
/// <summary> /// /// </summary> /// <param name="myStore"></param> /// <param name="myVertexID"></param> /// <param name="myVertexTypeID"></param> /// <param name="myEdition"></param> /// <param name="myComment"></param> /// <param name="myEdges"></param> /// <param name="myStructuredProperties"></param> /// <param name="myUnstructuredProperties"></param> private static IVertex Store( IVertexStore myStore, VertexInformation mySource, String myComment, Int64 myCreationDate, IDictionary<Tuple<Int64, Int64>, VertexInformation> mySingleEdges, IDictionary<Tuple<Int64, Int64>, IEnumerable<VertexInformation>> myHyperEdges, IDictionary<Int64, IComparable> myStructuredProperties, IDictionary<String, Object> myUnstructuredProperties, SecurityToken mySecurity, TransactionToken myTransaction) { VertexAddDefinition def = new VertexAddDefinition( mySource.VertexID, mySource.VertexTypeID, mySource.VertexEditionName, CreateHyperEdgeDefinitions(myHyperEdges, mySource, myCreationDate), CreateSingleEdgeDefinitions(mySingleEdges, mySource, myCreationDate), null, null, myComment, myCreationDate, myCreationDate, myStructuredProperties, myUnstructuredProperties); return myStore.AddVertex(mySecurity, myTransaction, def); }
public IVertex AddVertex(SecurityToken mySecurityToken, Int64 myTransactionToken, VertexAddDefinition myVertexDefinition, Int64 myVertexRevisionID = 0L, bool myCreateIncomingEdges = true) { return(_vertexStore.AddVertex(mySecurityToken, myTransactionToken, myVertexDefinition, myVertexRevisionID, myCreateIncomingEdges)); }