RenameIndexOperation Constructor (String, String, String, Object)

 

Initializes a new instance of the RenameIndexOperation class.

Namespace:   System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public RenameIndexOperation(
	string table,
	string name,
	string newName,
	object anonymousArguments = null
)

Parameters

table
Type: System.String

The name of the table the index belongs to.

name
Type: System.String

The name of the index to be renamed.

newName
Type: System.String

The new name for the index.

anonymousArguments
Type: System.Object

The additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.