AuthenticationService v0.3.0+7-g8a7f190
Public Member Functions | Static Public Member Functions | Properties | List of all members
Joutsen.AuthenticationControl.UpdateTablesCommand Class Reference

A command that can be used to update the database tables. More...

Public Member Functions

 UpdateTablesCommand (IServiceProvider services)
 The schema for the authentication database. More...
 
override void Execute ()
 Executes the command's logic to update the database. More...
 

Static Public Member Functions

static SubParser< UpdateTablesCommandCreateParser (SubParser parser, IServiceProvider services)
 Creates a command line parser for use with the command. More...
 

Properties

bool SimulationOnly [get, set]
 Determines if the database is actually created or if only a scrip tis generated. More...
 

Detailed Description

A command that can be used to update the database tables.

Since
0.1.0

Constructor & Destructor Documentation

◆ UpdateTablesCommand()

Joutsen.AuthenticationControl.UpdateTablesCommand.UpdateTablesCommand ( IServiceProvider  services)

The schema for the authentication database.

Member Function Documentation

◆ CreateParser()

static SubParser< UpdateTablesCommand > Joutsen.AuthenticationControl.UpdateTablesCommand.CreateParser ( SubParser  parser,
IServiceProvider  services 
)
static

Creates a command line parser for use with the command.

◆ Execute()

override void Joutsen.AuthenticationControl.UpdateTablesCommand.Execute ( )

Executes the command's logic to update the database.

Property Documentation

◆ SimulationOnly

bool Joutsen.AuthenticationControl.UpdateTablesCommand.SimulationOnly
getset

Determines if the database is actually created or if only a scrip tis generated.