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 เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: