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

Definición

Anota la operación con el par nombre-valor especificado.

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)

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