Share via


DropIndexOperation Class

Definition

Represents dropping an existing index.

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 class DropIndexOperation : System.Data.Entity.Migrations.Model.IndexOperation
type DropIndexOperation = class
    inherit IndexOperation
Public Class DropIndexOperation
Inherits IndexOperation
Inheritance

Constructors

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.

Properties

AnonymousArguments

Gets additional arguments that may be processed by providers.

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.

(Inherited from MigrationOperation)
Columns

Gets the columns that are indexed. 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.

(Inherited from IndexOperation)
HasDefaultName

Gets a value indicating if a specific name has been supplied for this index.

(Inherited from IndexOperation)
Inverse

Gets an operation that represents reverting dropping the index. The inverse cannot be automatically calculated, if it was not supplied to the constructor this property will return null.

IsDestructiveChange

Gets a value indicating if this operation may result in data loss.

Name

Gets or sets the name of this index. If no name is supplied, a default name will be calculated. 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.

(Inherited from IndexOperation)
Table

Gets or sets the table the index belongs to. 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.

(Inherited from IndexOperation)

Applies to