MutableAnnotatableExtensions.AddAnnotations Method
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.
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);
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))
- annotatable
- IMutableAnnotatable
The object to add the annotations to.
- annotations
- IEnumerable<IAnnotation>
The annotations to be added.
Продукт | Версии |
---|---|
Entity Framework Core | 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0 |
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: