Udostępnij za pośrednictwem


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

Definicja

Inicjuje nowe wystąpienie klasy InsertHistoryOperation.

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)

Parametry

table
String

Nazwa tabeli historii migracji.

migrationId
String

Identyfikator rekordu migracji do wstawienia.

model
Byte[]

Wartość, która ma być przechowywana w kolumnie modelu.

anonymousArguments
Object

Dodatkowe argumenty, które mogą być przetwarzane przez dostawców. Użyj składni typu anonimowego, aby określić argumenty, np. "new { SampleArgument = "MyValue" }".

Dotyczy