C# 클래스 DotNetMigrations.SeedDirectory

상속: ISeedDirectory
파일 보기 프로젝트 열기: jpoehls/dotnetmigrations

공개 메소드들

메소드 설명
GetPath ( ILogger log ) : string

Returns the seed script path from the config file (if available) or the default path.

GetScripts ( string setName ) : IEnumerable

Returns a list of all the seed script file paths sorted by name.

SeedDirectory ( ) : System.Collections.Generic
SeedDirectory ( IConfigurationManager configurationManager ) : System.Collections.Generic

비공개 메소드들

메소드 설명
VerifyAndCreatePath ( string path ) : void

Verify the path exists and creates it if it's missing.

메소드 상세

GetPath() 공개 메소드

Returns the seed script path from the config file (if available) or the default path.
public GetPath ( ILogger log ) : string
log ILogger
리턴 string

GetScripts() 공개 메소드

Returns a list of all the seed script file paths sorted by name.
public GetScripts ( string setName ) : IEnumerable
setName string
리턴 IEnumerable

SeedDirectory() 공개 메소드

public SeedDirectory ( ) : System.Collections.Generic
리턴 System.Collections.Generic

SeedDirectory() 공개 메소드

public SeedDirectory ( IConfigurationManager configurationManager ) : System.Collections.Generic
configurationManager IConfigurationManager
리턴 System.Collections.Generic