Exemplo n.º 1
0
        private void ClearData()
        {
            HighlyAvailableGraphDatabase db = Cluster.Master;

            GraphDatabaseServiceCleaner.cleanDatabaseContent(db);
            Cluster.sync();
        }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void clearSchema()
        public virtual void ClearSchema()
        {
            GraphDatabaseServiceCleaner.cleanupSchema(Db);
        }