Condividi tramite


OperationBuilder<TOperation>.Annotation(String, Object) Metodo

Definizione

Annota l'operazione con la coppia nome/valore specificata.

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)

Parametri

name
String

Nome dell'annotazione.

value
Object

Valore dell'annotazione.

Restituisce

Lo stesso generatore in modo che più chiamate possano essere concatenati.

Si applica a