Пример #1
0
        private static void CallBulkReserveStoredProcedure()
        {
            var manager = new DocumentDbManager();

            var createResult = manager.CreateStoredProcedure(@"..\..\\bulkDeleteStoredProcedure.js").Result;
            var callResult   = manager.CallBulkDeleteStoredProcedure(new DateTime(2017, 6, 4, 0, 0, 0), new DateTime(2017, 6, 7, 23, 59, 59), "第1会議室").Result;

            Console.WriteLine(callResult);
        }
Пример #2
0
        private static void CallHelloStoredProcedure()
        {
            var manager = new DocumentDbManager();

            var createResult = manager.CreateStoredProcedure(@"..\..\\helloStoredProcedure.js").Result;
            var callResult   = manager.CallHelloStoredProcedure("Ryuichi Daigo").Result;

            Console.WriteLine(callResult);
        }