AnnotatableBase.AddAnnotation Método

Definición

Sobrecargas

AddAnnotation(String, Annotation)

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

AddAnnotation(String, Object)

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

AddAnnotation(String, Annotation)

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

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation AddAnnotation (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation);
abstract member AddAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.AddAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function AddAnnotation (name As String, annotation As Annotation) As Annotation

Parámetros

name
String

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

annotation
Annotation

Anotación que se va a agregar.

Devoluciones

Anotación agregada.

Se aplica a

AddAnnotation(String, Object)

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