DropIndexOperation Class
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.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.IndexOperation
System.Data.Entity.Migrations.Model.DropIndexOperation
Name | Description | |
---|---|---|
![]() | 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. |
Name | Description | |
---|---|---|
![]() | 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.(Overrides MigrationOperation.Inverse.) |
![]() | IsDestructiveChange | Gets a value indicating whether this operation may result in data loss.(Overrides MigrationOperation.IsDestructiveChange.) |
![]() | 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.) |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.