InsertHistoryOperation(String, String, Byte[], Object) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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“ }”。