C# 클래스 Simple.Migrator.BaseMigrate

파일 보기 프로젝트 열기: juanplopes/simple

보호된 프로퍼티들

프로퍼티 타입 설명
_availableMigrations List
_current long
_dryrun bool
_logger ILogger
_original List
_provider ITransformationProvider

공개 메소드들

메소드 설명
Continue ( long targetVersion ) : bool
GetInstance ( List availableMigrations, ITransformationProvider provider, ILogger logger, string schemainfoname ) : BaseMigrate
Iterate ( ) : void
Migrate ( IMigration migration, string schemainfoname ) : void

보호된 메소드들

메소드 설명
BaseMigrate ( List availableMigrations, ITransformationProvider provider, ILogger logger, string schemainfoname ) : System.Collections.Generic
NextMigration ( ) : long

Finds the next migration available to be applied. Only returns migrations that have NOT already been applied.

PreviousMigration ( ) : long

Finds the previous migration that has been applied. Only returns migrations that HAVE already been applied.

메소드 상세

BaseMigrate() 보호된 메소드

protected BaseMigrate ( List availableMigrations, ITransformationProvider provider, ILogger logger, string schemainfoname ) : System.Collections.Generic
availableMigrations List
provider ITransformationProvider
logger ILogger
schemainfoname string
리턴 System.Collections.Generic

Continue() 공개 추상적인 메소드

public abstract Continue ( long targetVersion ) : bool
targetVersion long
리턴 bool

GetInstance() 공개 정적인 메소드

public static GetInstance ( List availableMigrations, ITransformationProvider provider, ILogger logger, string schemainfoname ) : BaseMigrate
availableMigrations List
provider ITransformationProvider
logger ILogger
schemainfoname string
리턴 BaseMigrate

Iterate() 공개 메소드

public Iterate ( ) : void
리턴 void

Migrate() 공개 추상적인 메소드

public abstract Migrate ( IMigration migration, string schemainfoname ) : void
migration IMigration
schemainfoname string
리턴 void

NextMigration() 보호된 메소드

Finds the next migration available to be applied. Only returns migrations that have NOT already been applied.
protected NextMigration ( ) : long
리턴 long

PreviousMigration() 보호된 메소드

Finds the previous migration that has been applied. Only returns migrations that HAVE already been applied.
protected PreviousMigration ( ) : long
리턴 long

프로퍼티 상세

_availableMigrations 보호되어 있는 프로퍼티

protected List _availableMigrations
리턴 List

_current 보호되어 있는 프로퍼티

protected long _current
리턴 long

_dryrun 보호되어 있는 프로퍼티

protected bool _dryrun
리턴 bool

_logger 보호되어 있는 프로퍼티

protected ILogger _logger
리턴 ILogger

_original 보호되어 있는 프로퍼티

protected List _original
리턴 List

_provider 보호되어 있는 프로퍼티

protected ITransformationProvider _provider
리턴 ITransformationProvider