Search Results for

    Show / Hide Table of Contents

    Class FirebirdDDLLockTracker

    Tracks virtual locks caused by DDL statements

    Inheritance
    object
    FirebirdDDLLockTracker
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Processors.Firebird
    Assembly: FluentMigrator.Runner.Firebird.dll
    Syntax
    public class FirebirdDDLLockTracker

    Constructors

    | Edit this page View Source

    FirebirdDDLLockTracker(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 Source

    Clear()

    Clears all virtual locks

    Declaration
    public void Clear()
    | Edit this page View Source

    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

    true when the column is locked

    | Edit this page View Source

    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

    true when the table is locked

    | Edit this page View Source

    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

    true when the column wasn't locked

    | Edit this page View Source

    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

    true when the table wasn't locked

    • Edit this page
    • View Source
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.