AnnotatableBase.AddAnnotations 方法

定义

重载

AddAnnotations(IEnumerable<IAnnotation>)

向此对象添加批注。

AddAnnotations(IReadOnlyDictionary<String,Object>)

向此对象添加批注。

AddAnnotations(IEnumerable<IAnnotation>)

向此对象添加批注。

public virtual void AddAnnotations (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member AddAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.AddAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub AddAnnotations (annotations As IEnumerable(Of IAnnotation))

参数

annotations
IEnumerable<IAnnotation>

要添加的批注。

适用于

AddAnnotations(IReadOnlyDictionary<String,Object>)

向此对象添加批注。

public virtual void AddAnnotations (System.Collections.Generic.IReadOnlyDictionary<string,object?> annotations);
abstract member AddAnnotations : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
override this.AddAnnotations : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
Public Overridable Sub AddAnnotations (annotations As IReadOnlyDictionary(Of String, Object))

参数

annotations
IReadOnlyDictionary<String,Object>

要添加的批注。

适用于