MutableAnnotatableExtensions.AddAnnotations Method

Definition

Adds annotations to an object.

C#
public static void AddAnnotations (this Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable annotatable, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Parameters

annotatable
IMutableAnnotatable

The object to add the annotations to.

annotations
IEnumerable<IAnnotation>

The annotations to be added.

Applies to

Product Versions
Entity Framework Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0