HistoryRow HistoryRow HistoryRow Class


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


HistoryRow() HistoryRow() HistoryRow()


ContextKey ContextKey ContextKey

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

CreatedOn CreatedOn CreatedOn

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

MigrationId MigrationId MigrationId

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

Model Model Model

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

ProductVersion ProductVersion ProductVersion

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

Applies to