Class ProcessorOptions
Options for an IMigrationProcessor
Implements
Inherited Members
Namespace: FluentMigrator.Runner.Processors
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public sealed class ProcessorOptions : IMigrationProcessorOptions
Constructors
| Edit this page View SourceProcessorOptions()
Initializes a new instance of the ProcessorOptions class.
Declaration
public ProcessorOptions()
ProcessorOptions(IRunnerContext)
Initializes a new instance of the ProcessorOptions class.
Declaration
[Obsolete]
public ProcessorOptions(IRunnerContext runnerContext)
Parameters
Type | Name | Description |
---|---|---|
IRunnerContext | runnerContext | The runner context to get the values from |
Properties
| Edit this page View SourceConnectionString
Gets or sets the connection string (will not be used when PreviewOnly is active)
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
string |
PreviewOnly
Gets or sets a value indicating whether a preview-only mode is active
Declaration
public bool PreviewOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |
ProviderSwitches
Gets or sets the provider switches
Declaration
public string ProviderSwitches { get; set; }
Property Value
Type | Description |
---|---|
string |
StripComments
Gets or sets a value indicating whether the comments should be stripped
Declaration
public bool StripComments { get; set; }
Property Value
Type | Description |
---|---|
bool |
Timeout
Gets or sets the default command timeout
Declaration
public TimeSpan? Timeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan? |
Methods
| Edit this page View SourceSetValuesFrom(IRunnerContext)
Sets the values from the given runner context
Declaration
[Obsolete]
public void SetValuesFrom(IRunnerContext runnerContext)
Parameters
Type | Name | Description |
---|---|---|
IRunnerContext | runnerContext | The runner context |