CreateIndexOperation Class
Entity Framework 5.0
Represents creating a database index.
System.Object
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.IndexOperation
System.Data.Entity.Migrations.Model.CreateIndexOperation
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.IndexOperation
System.Data.Entity.Migrations.Model.CreateIndexOperation
Namespace: System.Data.Entity.Migrations.Model
Assembly: EntityFramework (in EntityFramework.dll)
The CreateIndexOperation type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CreateIndexOperation | Initializes a new instance of the CreateIndexOperation class. The Table and Columns properties should also be populated. |
| Name | Description | |
|---|---|---|
![]() | AnonymousArguments | Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.) |
![]() | Columns | Gets or sets the columns that are indexed. (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 to drop this index. (Overrides MigrationOperation.Inverse.) |
![]() | IsDestructiveChange | Gets a value indicating whether the change is destructive. (Overrides MigrationOperation.IsDestructiveChange.) |
![]() | IsUnique | Gets or sets a value indicating if this is a unique index. |
![]() | Name | Gets or sets the name of this index. If no name is supplied, a default name will be calculated. (Inherited from IndexOperation.) |
![]() | Table | Gets or sets the table the index belongs to. (Inherited from IndexOperation.) |
Show:
