Exemplo n.º 1
0
 private static void SetMaxID(IVertexStore myVertexStore, IDManager myIDManager, TransactionToken myTransaction, SecurityToken mySecurity, MetaManager result)
 {
     foreach (var aUserDefinedVertexType in result._vertexTypeManager.ExecuteManager.GetAllVertexTypes(myTransaction, mySecurity).Where(_ => _.IsUserDefined))
     {
         myIDManager[aUserDefinedVertexType.ID].SetToMaxID(myVertexStore.GetHighestVertexID(mySecurity, myTransaction, aUserDefinedVertexType.ID) + 1);
     }
 }
Exemplo n.º 2
0
 private static void SetMaxID(IVertexStore myVertexStore, 
                                 IDManager myIDManager, 
                                 Int64 myTransaction, 
                                 SecurityToken mySecurity, 
                                 MetaManager result)
 {
     foreach (var aUserDefinedVertexType in result._vertexTypeManager.ExecuteManager.GetAllTypes(myTransaction, mySecurity))
     {
         myIDManager.GetVertexTypeUniqeID(aUserDefinedVertexType.ID).SetToMaxID(myVertexStore.GetHighestVertexID(mySecurity, myTransaction, aUserDefinedVertexType.ID) + 1);
     }
 }
Exemplo n.º 3
0
 public long GetHighestVertexID(SecurityToken mySecurityToken, Int64 myTransactionToken, long myVertexTypeID)
 {
     return(_vertexStore.GetHighestVertexID(mySecurityToken, myTransactionToken, myVertexTypeID));
 }
Exemplo n.º 4
0
 private static void SetMaxID(IVertexStore myVertexStore,
                              IDManager myIDManager,
                              Int64 myTransaction,
                              SecurityToken mySecurity,
                              MetaManager result)
 {
     foreach (var aUserDefinedVertexType in result._vertexTypeManager.ExecuteManager.GetAllTypes(myTransaction, mySecurity))
     {
         myIDManager.GetVertexTypeUniqeID(aUserDefinedVertexType.ID).SetToMaxID(myVertexStore.GetHighestVertexID(mySecurity, myTransaction, aUserDefinedVertexType.ID) + 1);
     }
 }