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));
 }
Ejemplo n.º 3
0
        public void DropDatabase()
        {
            var cmd = new DropDatabaseCommand(Session.Connection)
            {
                DatabaseName = Name
            };

            cmd.Execute();
        }