Example #1
0
        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();
            }
        }
Example #2
0
 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);
 }