次の方法で共有


OperationBuilder<TOperation>.Annotation(String, Object) メソッド

定義

指定された名前と値のペアで操作に注釈を付けます。

public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<TOperation> Annotation (string name, object value);
public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<TOperation> Annotation (string name, object? value);
abstract member Annotation : string * obj -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<'Operation (requires 'Operation :> Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation)>
override this.Annotation : string * obj -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<'Operation (requires 'Operation :> Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation)>
Public Overridable Function Annotation (name As String, value As Object) As OperationBuilder(Of TOperation)

パラメーター

name
String

注釈名。

value
Object

注釈の値。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー。

適用対象