public void Should_Be_Able_To_Create_Vertex_With_Multicardinality_Property() { var g = DseGraph.Traversal(Session); var direwolves = new[] { "Ghost", "Nymeria", "Shaggydog", "Grey Wind", "Lady" }; var stmt = DseGraph.StatementFromTraversal( g.AddV("multi_v") .Property("pk", Guid.NewGuid()) .Property("multi_prop", new object[] { direwolves })); Session.ExecuteGraph(stmt); StatementCoreIntegrationTest.VerifyMultiCardinalityProperty(Session, g, direwolves); g.V().HasLabel("multi_v").Drop().Next(); }
public void Should_Be_Able_To_Create_Vertex_With_Multicardinality_Property() { var g = DseGraph.Traversal(Session); g.AddV("multi_v") .Property("pk", Guid.NewGuid()) .Property("multi_prop", new List <string> { "Hold", "the", "door" }) .Next(); StatementCoreIntegrationTest.VerifyMultiCardinalityProperty(Session, g, new [] { "Hold", "the", "door" }); g.V().HasLabel("multi_v").Drop().Next(); }