Bagikan melalui


MutableAnnotatableExtensions.AddAnnotations Metode

Definisi

Menambahkan anotasi ke objek.

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

Parameter

annotatable
IMutableAnnotatable

Objek untuk menambahkan anotasi.

annotations
IEnumerable<IAnnotation>

Anotasi yang akan ditambahkan.

Berlaku untuk