AnnotatableBase.AddRuntimeAnnotations 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>) |
向此对象添加运行时批注。 |
AddRuntimeAnnotations(IEnumerable<Annotation>) |
向此对象添加运行时批注。 |
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)
向此对象添加运行时批注。
public virtual void AddRuntimeAnnotations (System.Collections.Generic.IReadOnlyDictionary<string,object?> annotations);
abstract member AddRuntimeAnnotations : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
override this.AddRuntimeAnnotations : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
Public Overridable Sub AddRuntimeAnnotations (annotations As IReadOnlyDictionary(Of String, Object))
参数
- annotations
- IReadOnlyDictionary<String,Object>
要添加的批注。
适用于
AddRuntimeAnnotations(IEnumerable<Annotation>)
向此对象添加运行时批注。
public virtual void AddRuntimeAnnotations (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> annotations);
abstract member AddRuntimeAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> -> unit
override this.AddRuntimeAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> -> unit
Public Overridable Sub AddRuntimeAnnotations (annotations As IEnumerable(Of Annotation))
参数
- annotations
- IEnumerable<Annotation>
要添加的批注。