Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeleteTableExpression

    Represents a database migration expression that deletes a table. This is used to define the removal of a table during a migration process.

    Inheritance
    object
    MigrationExpressionBase
    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.Expressions
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class DeleteTableExpression : MigrationExpressionBase, IMigrationExpression

    Constructors

    View Source

    DeleteTableExpression(IMigrationContext)

    Initializes a new instance of the DeleteTableExpression class.

    Declaration
    public DeleteTableExpression(IMigrationContext context)
    Parameters
    Type Name Description
    IMigrationContext context

    An IMigrationContext that provides information and services for the migration operation.

    Properties

    View Source

    TableName

    Gets or sets the name of the table to be deleted.

    Declaration
    public virtual string? TableName { get; set; }
    Property Value
    Type Description
    string

    Methods

    View Source

    GetSql()

    Declaration
    protected override string GetSql()
    Returns
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX