HistoryRow Class

Definition

This class is used by Code First Migrations to read and write migration history from the database.

public class HistoryRow
type HistoryRow = class
Public Class HistoryRow
Inheritance
HistoryRow

Constructors

HistoryRow()

Properties

ContextKey

Gets or sets a key representing to which context the row applies.

CreatedOn

Gets or sets the date and time that this migrations history entry was created.

MigrationId

Gets or sets the Id of the migration this row represents.

Model

Gets or sets the state of the model after this migration was applied.

ProductVersion

Gets or sets the version of Entity Framework that created this entry.

Applies to