共用方式為


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

適用於