예제 #1
0
        public void WriteAllIndexDescriptionsToConsole(IGraphClient graphClient)
        {
            List <IIndexMetadata> indexes = graphClient.ListAllIndexes();

            Console.WriteLine("\r\nThe Graph has the following Constraints and Indexes");
            foreach (IIndexMetadata indexDes in indexes)
            {
                Console.WriteLine(indexDes.ToString());
            }
            if (indexes.Count == 0)
            {
                Console.WriteLine("Nothing found");
            }
        }