Share via


IConventionAnnotatable.AddAnnotations メソッド

定義

オブジェクトに注釈を追加します。

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)

パラメーター

annotations
IEnumerable<IConventionAnnotation>

追加する注釈。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

適用対象