Giter VIP home page Giter VIP logo

Comments (7)

ra0o0f avatar ra0o0f commented on May 31, 2024 2

@chefhl ArangoDB 3.0 combines http api for create/read/update/delete documents and edges. so the client should be updated with the new api. i will do it until tomarrow

from arangoclient.net.

ra0o0f avatar ra0o0f commented on May 31, 2024

UPDATE:
i tested it with ArangoDB 2.8(see below), it seems it breaks with 3.0 version. let me look in to it

@chefhl i inserted an edge with success in ArangoDB 2.8.1 and .net client 0.7.31 with the following code

db.CreateCollection("VoltageLevelOfSubstation", type: CollectionType.Edge);
db.CreateCollection("VoltageLevel");
db.CreateCollection("Substation");

db.EdgeCollection("VoltageLevelOfSubstation")
                    .InsertEdge(from: "VoltageLevel/F4419f583-13f4-4577-b95e-09269e2c4e2f",
                        to: "Substation/1fc54ab8-85c1-42a3-8605-0bcf8ac3d09d",
                        edgeDocument: new VoltageLevelOfSubstation  { Label = "connectes two vertices" });

public class VoltageLevelOfSubstation
{
    public string Label { get; set; }

    [DocumentProperty(Identifier = IdentifierType.EdgeFrom)]
    public string From { get; set; }

    [DocumentProperty(Identifier = IdentifierType.EdgeTo)]
    public string To { get; set; }
}

can you provide the insert code you are using and also ArangoDB, .Net client version?

from arangoclient.net.

chefhl avatar chefhl commented on May 31, 2024

I just started prototyping today so I'm on ArangoDB v3.0.0 and .net driver v0.7.31
Obviously that is the problem.
Thanks for looking into this so quickly!

from arangoclient.net.

ra0o0f avatar ra0o0f commented on May 31, 2024

@chefhl edges/graph changes to work with ArangoDB 3.0 may take longer(a week or so).

https://docs.arangodb.com/3.0/Manual/ReleaseNotes/UpgradingChanges30.html
https://docs.arangodb.com/3.0/cookbook/AQL/MigratingGraphFunctionsTo3.html

i will inform you here when its done.

from arangoclient.net.

chefhl avatar chefhl commented on May 31, 2024

Any update yet?

from arangoclient.net.

ra0o0f avatar ra0o0f commented on May 31, 2024

@chefhl sorry but it will take longer than i thought. not sooner than a month. i'm revising all aspects of client.

from arangoclient.net.

ra0o0f avatar ra0o0f commented on May 31, 2024

@chefhl client now support v3.0 version of ArangoDB, InsertEdge should work fine now. install the latest version from the nuget. sorry if it took long

from arangoclient.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.