yojimbo87 / OrientDB-NET.binary

C#/.NET binary driver for OrientDB
MIT License
21 stars 19 forks source link

Support out of order SQL query chaining #16

Closed yojimbo87 closed 11 years ago

yojimbo87 commented 11 years ago

Support out of order chaining, e.g. user can do

Create.Vertex(fooDoc) .Cluster() .Run();

and it will generate

CREATE VERTEX Foo CLUSTER Bar SET foo = 1, bar = 2

instead of

CREATE VERTEX Foo SET foo = 1, bar = 2 CLUSTER Bar

yojimbo87 commented 11 years ago

Update(doc)

Insert(doc)

Create.Vertex(doc)

Create.Edge(doc)

Maybe Set methods should serve only to save single K/V pairs and not entire documents.

yojimbo87 commented 11 years ago

Done @ v0.2.0