CreateIndexOperation Class

 

Represents creating a database 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.

Namespace:   System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Migrations.Model.MigrationOperation
    System.Data.Entity.Migrations.Model.IndexOperation
      System.Data.Entity.Migrations.Model.CreateIndexOperation

public class CreateIndexOperation : IndexOperation

NameDescription
System_CAPS_pubmethodCreateIndexOperation(Object)

Initializes a new instance of the CreateIndexOperation class. The Table and Columns properties should also be populated. 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.

NameDescription
System_CAPS_pubpropertyAnonymousArguments

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.)

System_CAPS_pubpropertyColumns

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.)

System_CAPS_pubpropertyHasDefaultName

Gets a value indicating if a specific name has been supplied for this index.(Inherited from IndexOperation.)

System_CAPS_pubpropertyInverse

Gets an operation to drop this index.(Overrides MigrationOperation.Inverse.)

System_CAPS_pubpropertyIsClustered

Gets or sets whether this is a clustered index.

System_CAPS_pubpropertyIsDestructiveChange

Gets or sets a value that indicates whether this change will result in data loss.(Overrides MigrationOperation.IsDestructiveChange.)

System_CAPS_pubpropertyIsUnique

Gets or sets a value indicating if this is a unique index.

System_CAPS_pubpropertyName

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.)

System_CAPS_pubpropertyTable

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.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.