Share via


DropIndexOperation Constructors

Definition

Overloads

DropIndexOperation(Object)

Initializes a new instance of the DropIndexOperation class.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

DropIndexOperation(CreateIndexOperation, Object)

Initializes a new instance of the DropIndexOperation class.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

DropIndexOperation(Object)

Initializes a new instance of the DropIndexOperation class.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

public DropIndexOperation (object anonymousArguments = null);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropIndexOperation (object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropIndexOperation : obj -> System.Data.Entity.Migrations.Model.DropIndexOperation
Public Sub New (Optional anonymousArguments As Object = null)

Parameters

anonymousArguments
Object

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

Attributes

Applies to

DropIndexOperation(CreateIndexOperation, Object)

Initializes a new instance of the DropIndexOperation class.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

public DropIndexOperation (System.Data.Entity.Migrations.Model.CreateIndexOperation inverse, object anonymousArguments = null);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropIndexOperation (System.Data.Entity.Migrations.Model.CreateIndexOperation inverse, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropIndexOperation : System.Data.Entity.Migrations.Model.CreateIndexOperation * obj -> System.Data.Entity.Migrations.Model.DropIndexOperation
Public Sub New (inverse As CreateIndexOperation, Optional anonymousArguments As Object = null)

Parameters

inverse
CreateIndexOperation

The operation that represents reverting dropping the index.

anonymousArguments
Object

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

Attributes

Applies to