Search Results for

    Show / Hide Table of Contents
    View Source

    Class RenameTableExpression

    Represents a Rename Table expression.

    Inheritance
    System.Object
    MigrationExpressionBase
    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Rename.Expressions
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class RenameTableExpression : MigrationExpressionBase, IMigrationExpression

    Constructors

    View Source

    RenameTableExpression(IMigrationContext)

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

    Properties

    View Source

    NewName

    Gets or sets the target name.

    Declaration
    public virtual string NewName { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    OldName

    Gets or sets the source name.

    Declaration
    public virtual string OldName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    GetSql()

    Declaration
    protected override string GetSql()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • RenameTableExpression(IMigrationContext)
    • Properties
      • NewName
      • OldName
    • Methods
      • GetSql()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX