InsertHistoryOperation(String, String, Byte[], Object) Constructor

Definition

Initializes a new instance of the InsertHistoryOperation class.

public InsertHistoryOperation (string table, string migrationId, byte[] model, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.InsertHistoryOperation : string * string * byte[] * obj -> System.Data.Entity.Migrations.Model.InsertHistoryOperation
Public Sub New (table As String, migrationId As String, model As Byte(), Optional anonymousArguments As Object = null)

Parameters

table
String

Name of the migrations history table.

migrationId
String

Id of the migration record to be inserted.

model
Byte[]

Value to be stored in the model column.

anonymousArguments
Object

Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.

Applies to