Compartir a través de


IConventionAnnotatable.AddAnnotations Método

Definición

Agrega anotaciones a un objeto .

public virtual void AddAnnotations (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> annotations, bool fromDataAnnotation = false);
abstract member AddAnnotations : seq<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> * bool -> unit
override this.AddAnnotations : seq<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> * bool -> unit
Public Overridable Sub AddAnnotations (annotations As IEnumerable(Of IConventionAnnotation), Optional fromDataAnnotation As Boolean = false)

Parámetros

annotations
IEnumerable<IConventionAnnotation>

Anotaciones que se van a agregar.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Se aplica a