Share via


IConventionAnnotatable.AddAnnotations Método

Definição

Adiciona anotações a um 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>

As anotações a serem adicionadas.

fromDataAnnotation
Boolean

Indica se a configuração foi especificada usando uma anotação de dados.

Aplica-se a