Class FirebirdDDLLockTracker
Tracks virtual locks caused by DDL statements
Inherited Members
Namespace: FluentMigrator.Runner.Processors.Firebird
Assembly: FluentMigrator.Runner.Firebird.dll
Syntax
public class FirebirdDDLLockTracker
Constructors
| Edit this page View SourceFirebirdDDLLockTracker(IQuoter)
Initializes a new instance of the FirebirdDDLLockTracker class.
Declaration
public FirebirdDDLLockTracker(IQuoter quoter)
Parameters
Type | Name | Description |
---|---|---|
IQuoter | quoter | The Firebird quoter |
Methods
| Edit this page View SourceClear()
Clears all virtual locks
Declaration
public void Clear()
IsColumnRegistered(string, string)
Returns a value indicating whether the column was locked
Declaration
public bool IsColumnRegistered(string quotedTableName, string quotedColumnName)
Parameters
Type | Name | Description |
---|---|---|
string | quotedTableName | The quoted table name |
string | quotedColumnName | The quoted column name |
Returns
Type | Description |
---|---|
bool |
|
IsTableRegistered(string)
Returns a value indicating whether the table was locked
Declaration
public bool IsTableRegistered(string quotedTableName)
Parameters
Type | Name | Description |
---|---|---|
string | quotedTableName | The quoted table name |
Returns
Type | Description |
---|---|
bool |
|
TryRegisterColumn(string, string)
Registers a column as locked
Declaration
public bool TryRegisterColumn(string quotedTableName, string quotedColumnName)
Parameters
Type | Name | Description |
---|---|---|
string | quotedTableName | The quoted table name |
string | quotedColumnName | The quoted column name |
Returns
Type | Description |
---|---|
bool |
|
TryRegisterTable(string)
Registers a table as locked
Declaration
public bool TryRegisterTable(string quotedTableName)
Parameters
Type | Name | Description |
---|---|---|
string | quotedTableName | The quoted table name |
Returns
Type | Description |
---|---|
bool |
|