Hi Kazumi,
Look the simple code
OClient.CreateDatabasePool(
"localhost",
2424,
"TestManualy", // Database Name
ODatabaseType.Graph,
"root",
"root",
10,
"AppConnection" // Database Alias
);
using (var database = new ODatabase("AppConnection"))
{
var documents = database.Query("select from OUser");
foreach (var item in documents)
{
System.Console.WriteLine("Name: {0} Status:
{1}",
item.GetField<string>("name"),
item.GetField<string>("status"));
}
}
OClient.DropDatabasePool("AppConnection");
If you could provide sample code i can help.
On Thursday, April 23, 2015 at 1:59:37 PM UTC+3, Kazumi wrote:
>
> Hello, everyone
>
> Now, I'm trying to connect to OrientDB using the following URL's C# driver.
> https://github.com/orientechnologies/OrientDB-NET.binary
>
> I'm trying the following methods.
> 1. Copy the Orient.Client source to project.
> 2. Try the following code to connect.
>
> OClient.CreateDatabasePool("127.0.0.1", 2424, "GratefulDeadConcerts",
> ODatabaseType.Graph, "root", "root", 10, "GratefulDeadConcerts");
>
> But I always get this message when trying to create the database pool:
>
> 'System.IO.EndOfStreamException' occurred in mscorlib.dll
>
> What am I missing to connect?
>
> Has anyone else seen this issue?
>
> Please help, I'm not very familiar with C#.
>
> Thanks,
>
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.