InsertHistoryOperation(String, String, Byte[], Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework