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>

要添加的批注。

适用于