C# Class PiroPiro.DbCleanup.DbCleanupStrategy

Represents a strategy to clean up a database (restore to an original state)
Afficher le fichier Open project: benjamine/PiroPiro Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( ) : void

Execute this strategy cleaning up the database

FromConfig ( Configuration configuration = null ) : DbCleanupStrategy

Create a strategy based on configuration settings

SetAsDefault ( ) : void

Set this strategy as default

Méthodes protégées

Méthode Description
DbCleanupStrategy ( Configuration configuration = null ) : System
DoExecute ( ) : void

Method Details

DbCleanupStrategy() protected méthode

protected DbCleanupStrategy ( Configuration configuration = null ) : System
configuration Configuration
Résultat System

DoExecute() protected abstract méthode

protected abstract DoExecute ( ) : void
Résultat void

Execute() public méthode

Execute this strategy cleaning up the database
public Execute ( ) : void
Résultat void

FromConfig() public static méthode

Create a strategy based on configuration settings
public static FromConfig ( Configuration configuration = null ) : DbCleanupStrategy
configuration Configuration
Résultat DbCleanupStrategy

SetAsDefault() public méthode

Set this strategy as default
public SetAsDefault ( ) : void
Résultat void