private void DropDatabase()
 {
     dropDatabaseCommand.ReadArguments(new List <string> {
         $"--application-path={applicationManager.BasePath}"
     });
     dropDatabaseCommand.Execute();
 }
 private async Task <string> DropDatabase()
 {
     dropDatabaseCommand.ReadArguments(new List <string> {
         $"--application-path={applicationManager.BasePath}"
     });
     dropDatabaseCommand.Execute();
     return(await Task.FromResult(string.Empty));
 }
예제 #3
0
        public void DropDatabase()
        {
            var cmd = new DropDatabaseCommand(Session.Connection)
            {
                DatabaseName = Name
            };

            cmd.Execute();
        }