using (var driver = GraphDatabase.Driver("bolt://localhost", 
AuthTokens.Basic("neo4j", "neo4j")))

            using (var session = driver.Session())
            {

                foreach (string element in Array)
                {
                   
                   
                    try
                    {
                        if (element == "")
                        { 
                        
                        }

                        else
                        {  
                            session.Run(element);
                        }
                    }

                    catch (Exception ex)
                    {

                        throw ex;


                    }

                }


this is my code, and when one statement is wrong in the list,  it will keep 
return error even my next statement is right in the list. I wonder how can 
i figure it out ?

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to