C# 클래스 PiroPiro.DbCleanup.DbCleanupStrategy

Represents a strategy to clean up a database (restore to an original state)
파일 보기 프로젝트 열기: benjamine/PiroPiro 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
DbCleanupStrategy ( Configuration configuration = null ) : System
DoExecute ( ) : void

메소드 상세

DbCleanupStrategy() 보호된 메소드

protected DbCleanupStrategy ( Configuration configuration = null ) : System
configuration Configuration
리턴 System

DoExecute() 보호된 추상적인 메소드

protected abstract DoExecute ( ) : void
리턴 void

Execute() 공개 메소드

Execute this strategy cleaning up the database
public Execute ( ) : void
리턴 void

FromConfig() 공개 정적인 메소드

Create a strategy based on configuration settings
public static FromConfig ( Configuration configuration = null ) : DbCleanupStrategy
configuration Configuration
리턴 DbCleanupStrategy

SetAsDefault() 공개 메소드

Set this strategy as default
public SetAsDefault ( ) : void
리턴 void