Class GenericProcessorBase
Inheritance
GenericProcessorBase
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public abstract class GenericProcessorBase : ProcessorBase, IMigrationProcessor, IQuerySchema, IDisposable
Constructors
|
Edit this page
View Source
GenericProcessorBase(IDbConnection, IDbFactory, IMigrationGenerator, IAnnouncer, IMigrationProcessorOptions)
Declaration
[Obsolete]
protected GenericProcessorBase(IDbConnection connection, IDbFactory factory, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
Parameters
|
Edit this page
View Source
GenericProcessorBase(Func<DbProviderFactory>, IMigrationGenerator, ILogger, ProcessorOptions, IConnectionStringAccessor)
Declaration
protected GenericProcessorBase(Func<DbProviderFactory> factoryAccessor, IMigrationGenerator generator, ILogger logger, ProcessorOptions options, IConnectionStringAccessor connectionStringAccessor)
Parameters
Properties
|
Edit this page
View Source
Connection
Declaration
public IDbConnection Connection { get; protected set; }
Property Value
|
Edit this page
View Source
ConnectionString
Gets the connection string
Declaration
[Obsolete("Will change from public to protected")]
public override string ConnectionString { get; }
Property Value
Overrides
|
Edit this page
View Source
DbProviderFactory
Declaration
[CanBeNull]
protected DbProviderFactory DbProviderFactory { get; }
Property Value
|
Edit this page
View Source
Factory
Declaration
[Obsolete]
[NotNull]
public IDbFactory Factory { get; protected set; }
Property Value
|
Edit this page
View Source
Transaction
Declaration
[CanBeNull]
public IDbTransaction Transaction { get; protected set; }
Property Value
Methods
|
Edit this page
View Source
BeginTransaction()
Declaration
public override void BeginTransaction()
Overrides
|
Edit this page
View Source
CommitTransaction()
Declaration
public override void CommitTransaction()
Overrides
|
Edit this page
View Source
CreateCommand(string)
Declaration
protected virtual IDbCommand CreateCommand(string commandText)
Parameters
Type |
Name |
Description |
string |
commandText |
|
Returns
|
Edit this page
View Source
CreateCommand(string, IDbConnection, IDbTransaction)
Declaration
protected virtual IDbCommand CreateCommand(string commandText, IDbConnection connection, IDbTransaction transaction)
Parameters
Returns
|
Edit this page
View Source
Dispose(bool)
Declaration
protected override void Dispose(bool isDisposing)
Parameters
Type |
Name |
Description |
bool |
isDisposing |
|
Overrides
|
Edit this page
View Source
EnsureConnectionIsClosed()
Declaration
protected virtual void EnsureConnectionIsClosed()
|
Edit this page
View Source
EnsureConnectionIsOpen()
Declaration
protected virtual void EnsureConnectionIsOpen()
|
Edit this page
View Source
RollbackTransaction()
Rollback of a transaction
Declaration
public override void RollbackTransaction()
Overrides
Implements