我正在使用Orient-db 2.2.13和VisualStudio2015,我试图从c#.net到现有的orientDB执行一个简单的“测试连接”方法。通过C#连接到OrientDB .net
在java中它是执行非常简单:
OrientGraphFactory factory = new OrientGraphFactory(remoteUrl, user, password, false);
result = factory.getNoTx().command(new OCommandSQL("select....")).execute();
但在C#.NET这似乎是一个不太容易。 我的一切到目前为止,这是(和它不工作)
OServer _server = new OServer(_hostname, _port, _rootUserName, _rootUserPassword);
ODatabase odb = new ODatabase(_hostname, _port, _DBname, ODatabaseType.Graph, _rootUserName, _rootUserPassword);
你能帮助我吗?