PrimaryKeyOperation Class
Entity Framework 5.0
Common base class to represent operations affecting primary keys.
System.Object
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.PrimaryKeyOperation
System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation
System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.PrimaryKeyOperation
System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation
System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation
Namespace: System.Data.Entity.Migrations.Model
Assembly: EntityFramework (in EntityFramework.dll)
The PrimaryKeyOperation type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AnonymousArguments | Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.) |
![]() | Columns | Gets the column(s) that make up the primary key. |
![]() | HasDefaultName | Gets a value indicating if a specific name has been supplied for this primary key. |
![]() | 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. (Overrides MigrationOperation.IsDestructiveChange.) |
![]() | Name | Gets or sets the name of this primary key. If no name is supplied, a default name will be calculated. |
![]() | Table | Gets or sets the name of the table that contains the primary key. |
Show:
