C# Class DotNetMigrations.SeedDirectory

Inheritance: ISeedDirectory
Afficher le fichier Open project: jpoehls/dotnetmigrations

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
VerifyAndCreatePath ( string path ) : void

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

Method Details

GetPath() public méthode

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

GetScripts() public méthode

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

SeedDirectory() public méthode

public SeedDirectory ( ) : System.Collections.Generic
Résultat System.Collections.Generic

SeedDirectory() public méthode

public SeedDirectory ( IConfigurationManager configurationManager ) : System.Collections.Generic
configurationManager IConfigurationManager
Résultat System.Collections.Generic