Compartilhar via


AlterOperationBuilder<TOperation>.Annotation(String, Object) Método

Definição

Anota o MigrationOperation com o par nome/valor fornecido.

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

Parâmetros

name
String

O nome da anotação.

value
Object

O valor da anotação.

Retornos

O mesmo construtor para que várias chamadas possam ser encadeadas.

Aplica-se a