so the element is the cypher statement. Once the cypher statement is wrong 
and the rest of element keep sending error.

On Wednesday, 24 August 2016 01:58:16 UTC-4, chen y wrote:
>
>  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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to