Compartilhar via


ConventionAnnotatable.IMutableAnnotatable.SetAnnotation Método

Definição

Define a anotação armazenada sob a chave fornecida. Substitui a anotação existente se já existir uma anotação com o nome especificado.

[System.Diagnostics.DebuggerStepThrough]
void IMutableAnnotatable.SetAnnotation (string name, object value);
[System.Diagnostics.DebuggerStepThrough]
void IMutableAnnotatable.SetAnnotation (string name, object? value);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.SetAnnotation : string * obj -> unit
override this.Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.SetAnnotation : string * obj -> unit
Sub SetAnnotation (name As String, value As Object) Implements IMutableAnnotatable.SetAnnotation

Parâmetros

name
String

O nome da anotação a ser adicionada.

value
Object

O valor a ser armazenado na anotação.

Implementações

Atributos

Aplica-se a