Share via


MutableAnnotatableExtensions.AddAnnotations Method

Definition

Adds annotations to an object.

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))

Parameters

annotatable
IMutableAnnotatable

The object to add the annotations to.

annotations
IEnumerable<IAnnotation>

The annotations to be added.

Applies to