ForeignKeyOperation Class
Entity Framework 5.0
Base class for changes that affect foreign key constraints.
System.Object
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.ForeignKeyOperation
System.Data.Entity.Migrations.Model.AddForeignKeyOperation
System.Data.Entity.Migrations.Model.DropForeignKeyOperation
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.ForeignKeyOperation
System.Data.Entity.Migrations.Model.AddForeignKeyOperation
System.Data.Entity.Migrations.Model.DropForeignKeyOperation
Namespace: System.Data.Entity.Migrations.Model
Assembly: EntityFramework (in EntityFramework.dll)
The ForeignKeyOperation type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AnonymousArguments | Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.) |
![]() | DependentColumns | The names of the foreign key column(s). |
![]() | DependentTable | Gets or sets the name of the table that the foreign key columns exist in. |
![]() | HasDefaultName | Gets a value indicating if a specific name has been supplied for this foreign key constraint. |
![]() | Inverse | Gets an operation that will revert this operation. (Inherited from MigrationOperation.) |
![]() | IsDestructiveChange | Gets a value indicating if this operation may result in data loss. (Inherited from MigrationOperation.) |
![]() | Name | Gets or sets the name of this foreign key constraint. If no name is supplied, a default name will be calculated. |
![]() | PrincipalTable | Gets or sets the name of the table that the foreign key constraint targets. |
Show:
