C# Class Migr8.Options

Configure options for Migr8
Show file Open project: rebus-org/migr8 Class Usage Examples

Private Properties

Property Type Description
DoNothing void
GetWriter IWriter
LogToConsole void

Public Methods

Method Description
Options ( string migrationTableName = DefaultMigrationTableName, Action logAction = null, Action verboseLogAction = null ) : System

Creates an options object fo the migrator to use.

Private Methods

Method Description
DoNothing ( string text ) : void
GetWriter ( ) : IWriter
LogToConsole ( string text ) : void

Method Details

Options() public method

Creates an options object fo the migrator to use.
public Options ( string migrationTableName = DefaultMigrationTableName, Action logAction = null, Action verboseLogAction = null ) : System
migrationTableName string Optionally specifies the name of the table in which executed migrations will be logged. Defaults to .
logAction Action Optionally specifies a log action to use, which can be used to track progress as the migrator is running. Defaults to printing output to the console.
verboseLogAction Action Optionally specifies a log action to use for detailed logging, which can be used to track progress as the migrator is running. Defaults to not doing anything.
return System