Beispiel #1
0
        private void testButton_Click(object sender, EventArgs e)
        {
            var client = Neo4jGraphDatabaseHelper.CreateNeo4jClient();
            var query  = client.Cypher
                         .Match("(t:Table)")
                         .Return(t => t.As <DBTable>());
            var           tables        = query.Results;
            StringBuilder resultBuilder = new StringBuilder();

            foreach (var t in tables)
            {
                resultBuilder.Append(t.Schema).Append(".").Append(t.Name).Append(";");
            }
            textBox1.Text = resultBuilder.ToString();
        }
Beispiel #2
0
 public SearchFromTopForm()
 {
     InitializeComponent();
     InitDBObjectTypeCombo();
     neo4jClient = Neo4jGraphDatabaseHelper.CreateNeo4jClient();
 }