From 3342e9a72049347edade416ef455b57f787c8616 Mon Sep 17 00:00:00 2001 From: Surawout Thepchalerm Date: Tue, 8 Oct 2019 16:29:25 +0700 Subject: [PATCH] - Updated the documentation on using the command line interface --- .../Using-the-command-line-interface.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/Documentation/Using-the-command-line-interface.markdown b/docs/Documentation/Using-the-command-line-interface.markdown index 4bf1e9c0..68c2b318 100644 --- a/docs/Documentation/Using-the-command-line-interface.markdown +++ b/docs/Documentation/Using-the-command-line-interface.markdown @@ -186,3 +186,13 @@ Commands run in the full Orchard environment and can query the database, inject ## Throwing Exceptions From Commands Throwing from a command handler is not recommended. Instead, whenever possible, write to the context output and return. If you do want to throw a generic exception, you should throw an OrchardException. + +## Run the command to specify target instances for MultiTenancy + +Depend on DataConnectionString in the Settings.txt of Default folder. + + + DataConnectionString: Server=127.0.0.1;Port=5432;Database=Orchard;User Id=xxx;Password=xxx + + +Change the database name and run Orchard.exe