共用方式為


InsertHistoryOperation(String, String, Byte[], Object) 建構函式

定義

初始化 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)

參數

table
String

移轉歷程記錄資料表的名稱。

migrationId
String

要插入之移轉記錄的識別碼。

model
Byte[]

要儲存在模型資料行中的值。

anonymousArguments
Object

提供者可能處理的其他引數。 使用匿名型別語法來指定引數,例如 'new { SampleArgument = 「MyValue」 }'。

適用於