Skip to content

Connecting to 'orientdb-community-3.2.11'. #5

@lockelost

Description

@lockelost

Hi,

I am running 'orientdb-community-3.2.11' and want to connect to the database with C# .net core library as the official site example says as simple as follows.
I get the same error and an exception is thrown.

Has there been any updates on this project?

            using (ODatabase database = new ODatabase(_hostname, _port, _dbName, ODatabaseType.Graph, _user, _passwd))
            {
                long numberOfRecords = database.CountRecords;
                Console.WriteLine($"Connected. Number of records = {numberOfRecords}");

                List < OEdge > edges = database.Select().From("E").ToList<OEdge>();
                Console.WriteLine($"Number of edges = {edges.Count}");
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions