DropIndexOperation Constructor
Initializes a new instance of the DropIndexOperation class.
Assembly: EntityFramework (in EntityFramework.dll)
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. |
DropIndexOperation Constructor (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.
[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] public DropIndexOperation( CreateIndexOperation inverse, object anonymousArguments = null )
Parameters
- inverse
-
Type:
System.Data.Entity.Migrations.Model.CreateIndexOperation
The operation that represents reverting dropping the index.
- anonymousArguments
-
Type:
System.Object
Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
DropIndexOperation Constructor (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.
[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] public DropIndexOperation( object anonymousArguments = null )
Parameters
- anonymousArguments
-
Type:
System.Object
Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.