AnnotatableBase.IAnnotatable.SetRuntimeAnnotation(String, Object) Método

Definição

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

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.SetRuntimeAnnotation (string name, object? value);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.SetRuntimeAnnotation (string name, object value);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function SetRuntimeAnnotation (name As String, value As Object) As IAnnotation Implements IAnnotatable.SetRuntimeAnnotation

Parâmetros

name
String

O nome da anotação a ser adicionada.

value
Object

O valor a ser armazenado na anotação.

Retornos

A anotação recém-adicionada.

Implementações

Atributos

Aplica-se a