DropForeignKeyOperation Class
Entity Framework 5.0
Represents a foreign key constraint being dropped from a table.
System.Object
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.ForeignKeyOperation
System.Data.Entity.Migrations.Model.DropForeignKeyOperation
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.ForeignKeyOperation
System.Data.Entity.Migrations.Model.DropForeignKeyOperation
Namespace: System.Data.Entity.Migrations.Model
Assembly: EntityFramework (in EntityFramework.dll)
The DropForeignKeyOperation type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DropForeignKeyOperation(Object) | Initializes a new instance of the DropForeignKeyOperation class. The PrincipalTable, DependentTable and DependentColumns properties should also be populated. |
![]() | DropForeignKeyOperation(AddForeignKeyOperation, Object) | Initializes a new instance of the DropForeignKeyOperation class. |
| Name | Description | |
|---|---|---|
![]() | AnonymousArguments | Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.) |
![]() | DependentColumns | The names of the foreign key column(s). (Inherited from ForeignKeyOperation.) |
![]() | DependentTable | Gets or sets the name of the table that the foreign key columns exist in. (Inherited from ForeignKeyOperation.) |
![]() | HasDefaultName | Gets a value indicating if a specific name has been supplied for this foreign key constraint. (Inherited from ForeignKeyOperation.) |
![]() | Inverse | Gets an operation that represents reverting dropping the foreign key constraint. 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 the change is destructive. (Overrides MigrationOperation.IsDestructiveChange.) |
![]() | Name | Gets or sets the name of this foreign key constraint. If no name is supplied, a default name will be calculated. (Inherited from ForeignKeyOperation.) |
![]() | PrincipalTable | Gets or sets the name of the table that the foreign key constraint targets. (Inherited from ForeignKeyOperation.) |
| Name | Description | |
|---|---|---|
![]() | CreateDropIndexOperation | Gets an operation to drop the associated index on the foreign key column(s). |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Show:
