public void Create(Field field, Row row, Herbicide herbicide) { try { Connect(); var temp1 = client.Create(field); var temp2 = client.Create(row); var tmep3 = client.Create(herbicide); //client.CreateRelationship(field,new FieldRelationship(temp2) { flightNumber = "2" }); client.Cypher .Match("p(Simon") } catch (Exception) { throw; } finally { Disconnect(); } }
private void button_Click(object sender, RoutedEventArgs e) { field = new Field(Field_textBox.Text); row = new Row(int.Parse(Row_textBox.Text)); herbicide = new Herbicide(Herbicide_textBox.Text); }