Compartir a través de


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

Definición

Anota con MigrationOperation el par nombre-valor especificado.

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

Nombre de la anotación.

value
Object

Valor de la anotación.

Devoluciones

El mismo generador para que se puedan encadenar varias llamadas.

Se aplica a