Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

InsertHistoryOperation Class

Entity Framework 5.0

Represents inserting a new record into the migrations history table. The migrations history table is used to store a log of the migrations that have been applied to the database.

Namespace:  System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)
public class InsertHistoryOperation : HistoryOperation

The InsertHistoryOperation type exposes the following members.

  NameDescription
Public methodInsertHistoryOperation Initializes a new instance of the InsertHistoryOperation class.
Top
  NameDescription
Public propertyAnonymousArguments Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.)
Public propertyInverse Gets an operation that will revert this operation. (Inherited from MigrationOperation.)
Public propertyIsDestructiveChangeGets {insert text here}. (Overrides HistoryOperation.IsDestructiveChange.)
Public propertyMigrationId Gets the name of the migration being affected. (Inherited from HistoryOperation.)
Public propertyModel Gets the value to store in the history table representing the target model of the migration.
Public propertyProductVersion Gets the value to store in the history table indicating the version of Entity Framework used to produce this migration.
Public propertyTable Gets the name of the migrations history table. (Inherited from HistoryOperation.)
Top
  NameDescription
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.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.