Ejemplo n.º 1
0
 protected internal override long FetchNext()
 {
     Ktx.assertOpen();
     while (Cursor.next())
     {
         long reference = Cursor.relationshipReference();
         if (Ktx.dataRead().relationshipExists(reference))
         {
             return(reference);
         }
         else if (Ktx.securityContext().mode().allowsWrites())
         {
             //remove it from index so it doesn't happen again
             try
             {
                 RELATIONSHIP.remove(Ktx.indexWrite(), Name, reference);
             }
             catch (Exception e) when(e is ExplicitIndexNotFoundKernelException || e is InvalidTransactionTypeKernelException)
             {
                 //ignore
             }
         }
     }
     Close();
     return(NO_ID);
 }
Ejemplo n.º 2
0
 internal SalesPersonNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 3
0
 internal UnitMeasureNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 4
0
 internal MovieReviewNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 5
0
 internal MovieNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null, Entity entity = null) : base(relationship, direction, neo4jLabel, entity)
 {
 }
Ejemplo n.º 6
0
 internal BillOfMaterialsNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
 internal TransactionHistoryArchiveNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 8
0
 internal ProductListPriceHistoryNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 9
0
 internal CountryRegionNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 10
0
		internal EmailAddressNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel) { }
Ejemplo n.º 11
0
 internal WorkOrderRoutingNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 12
0
 internal SalesTerritoryHistoryNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 13
0
 internal PurchaseOrderHeaderNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 14
0
 internal PhoneNumberTypeNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 15
0
 internal StateProvinceNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 16
0
 internal CustomerNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
 internal EmployeeDepartmentHistoryNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 18
0
 internal ShoppingCartItemNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 19
0
 internal ProductPhotoNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 20
0
 internal RestaurantNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }
Ejemplo n.º 21
0
 internal JobCandidateNode(RELATIONSHIP relationship, DirectionEnum direction, string neo4jLabel = null) : base(relationship, direction, neo4jLabel)
 {
 }