src/EntityFramework/Migrations/DbMigration.cs
/// <summary>
///     Adds an operation to move a table to a new schema.
/// </summary>
/// <param name="name"> The name of the table to be moved. Schema name is optional, if no schema is specified then dbo is assumed. </param>
/// <param name="newSchema"> The schema the table is to be moved to. </param>
/// <param name="anonymousArguments"> Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. </param>
Adds an operation to move a table to a new schema.
Adds an operation to move a table to a new schema .
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
        protected internal void MoveTable(string name, string newSchema, object anonymousArguments = null)
        {
            Check.NotEmpty(name, "name");
            AddOperation(new MoveTableOperation(name, newSchema, anonymousArguments));
        }
[ SuppressMessage ( " " , " " ) ] protected internal void MoveTable ( string name , string newSchema , object anonymousArguments = null ) { Check . NotEmpty ( name , " " ) ; AddOperation ( new MoveTableOperation ( name , newSchema , anonymousArguments ) ) ; }
Adds an operation to move a table to a new schema.
Adds an operation to move a table to a new schema .
name
string
The name of the table to be moved. Schema name is optional, if no schema is specified then dbo is assumed.
The name of the table to be moved . Schema name is optional if no schema is specified then dbo is assumed .
newSchema
string
The schema the table is to be moved to.
The schema the table is to be moved to .
anonymousArguments
object
Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
Additional arguments that may be processed by providers . Use anonymous type syntax to specify arguments e . g . ' new { SampleArgument = " MyValue " } ' .