Lenguaje

RuntimeAnnotatableBase.AddAnnotation(String, Object) Método

Definición

Agrega una anotación a este objeto. Produce si ya existe una anotación con el nombre especificado.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation AddAnnotation(string name, object? value);
abstract member AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Public Overridable Function AddAnnotation (name As String, value As Object) As Annotation

Parámetros

name
String

Clave de la anotación que se va a agregar.

value
Object

Valor que se va a almacenar en la anotación.

Devoluciones

Anotación recién agregada.

Se aplica a