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

要插入的迁移记录的 ID。

model
Byte[]

要存储在模型列中的值。

anonymousArguments
Object

提供程序可能处理的其他参数。 使用匿名类型语法指定参数,例如“new { SampleArgument = ”MyValue“ }”。

适用于