OperationBuilder<TOperation>(TOperation) 构造函数

定义

为给定 MigrationOperation的 创建新的生成器实例。

public OperationBuilder (TOperation operation);
new Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<'Operation (requires 'Operation :> Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation)> : 'Operation -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<'Operation (requires 'Operation :> Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation)>
Public Sub New (operation As TOperation)

参数

operation
TOperation

MigrationOperation

适用于