Esempio n. 1
0
        private static void PrintDeleteCommand(string deleteCommand, DeleteResult deleteResult, OperationResult result)
        {
            Console.WriteLine("Executed: \r\nDELETE {0} \r\n".F(deleteCommand));

            Console.WriteLine("Delete RESULT: \r\n{0} \r\n".F(result));

            Console.WriteLine("Parsed Delete Results");
            Console.WriteLine(" ok: " + deleteResult.ok);
            Console.WriteLine(" acknowledged: " + deleteResult.acknowledged);
            Console.WriteLine(" _index: " + deleteResult._index);
            Console.WriteLine(" _type: " + deleteResult._type);
            Console.WriteLine(" _id: " + deleteResult._id);
            Console.WriteLine(" found: " + deleteResult.found);
            Console.WriteLine();
        }
Esempio n. 2
0
 private static void PrintDeleteResult(DeleteResult deleteResult)
 {
     Console.WriteLine("Delete Results:");
     Console.WriteLine(" ok: " + deleteResult.ok);
     Console.WriteLine(" _index: " + deleteResult._index);
     Console.WriteLine(" _type: " + deleteResult._type);
     Console.WriteLine(" _id: " + deleteResult._id);
     Console.WriteLine(" found: " + deleteResult.found);
     Console.WriteLine();
 }