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>

要加入的批註。

適用於