RuntimeAnnotatableBase.AddAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddAnnotations(IEnumerable<IAnnotation>) |
Adds annotations to this object overriding any existing annotations with the same name. |
AddAnnotations(IReadOnlyDictionary<String,Object>) |
Adds annotations to this object overriding any existing annotations with the same name. |
AddAnnotations(IEnumerable<IAnnotation>)
- Source:
- RuntimeAnnotatableBase.cs
Adds annotations to this object overriding any existing annotations with the same name.
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))
Parameters
- annotations
- IEnumerable<IAnnotation>
The annotations to be added.
Applies to
AddAnnotations(IReadOnlyDictionary<String,Object>)
- Source:
- RuntimeAnnotatableBase.cs
Adds annotations to this object overriding any existing annotations with the same name.
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))
Parameters
- annotations
- IReadOnlyDictionary<String,Object>
The annotations to be added.
Applies to
Entity Framework