PrimaryKeyOperation Class

Common base class to represent operations affecting primary keys.

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

public abstract class PrimaryKeyOperation : MigrationOperation

The PrimaryKeyOperation type exposes the following members.

Protected methodPrimaryKeyOperation Initializes a new instance of the PrimaryKeyOperation class.

Public propertyAnonymousArguments Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.)
Public propertyColumns Gets the column(s) that make up the primary key.
Public propertyHasDefaultName Gets a value indicating if a specific name has been supplied for this primary key.
Public propertyInverse Gets an operation that will revert this operation. (Inherited from MigrationOperation.)
Public propertyIsDestructiveChangeGets a value indicating if this operation may result in data loss. (Overrides MigrationOperation.IsDestructiveChange.)
Public propertyName Gets or sets the name of this primary key. If no name is supplied, a default name will be calculated.
Public propertyTable Gets or sets the name of the table that contains the primary key.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (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.