語言

MutableAnnotatableExtensions.AddAnnotations 方法

定義

為物件添加註解。

public static void AddAnnotations(this Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable annotatable, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
static member AddAnnotations : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable * seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
<Extension()>
Public Sub AddAnnotations (annotatable As IMutableAnnotatable, annotations As IEnumerable(Of IAnnotation))

參數

annotatable
IMutableAnnotatable

就是要加註解的物件。

annotations
IEnumerable<IAnnotation>

註解待加入。

適用於