Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IRenameBuilder

    Builds a Rename expression.

    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Rename
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IRenameBuilder : IFluentBuilder

    Methods

    View Source

    Column(string)

    Specifies the column to rename in a database table.

    Declaration
    IRenameColumnBuilder Column(string oldName)
    Parameters
    Type Name Description
    string oldName

    The current name of the column to be renamed.

    Returns
    Type Description
    IRenameColumnBuilder

    An Umbraco.Cms.Infrastructure.Migrations.Expressions.Rename.IRenameColumnBuilder for specifying the new column name.

    View Source

    Table(string)

    Begins a table rename operation by specifying the current name of the table.

    Declaration
    IRenameTableBuilder Table(string oldName)
    Parameters
    Type Name Description
    string oldName

    The current name of the table to rename.

    Returns
    Type Description
    IRenameTableBuilder

    An Umbraco.Cms.Infrastructure.Migrations.Expressions.Rename.IRenameTableBuilder to continue the rename operation.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX