Annotatable.OnAnnotationSet(String, Annotation, Annotation) 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.
Called when an annotation was set or removed.
C#
protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation oldAnnotation);
abstract member OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function OnAnnotationSet (name As String, annotation As Annotation, oldAnnotation As Annotation) As Annotation
- name
- String
The key of the set annotation.
- annotation
- Annotation
The annotation set.
- oldAnnotation
- Annotation
The old annotation.
The annotation that was set.
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
Entity Framework Core | 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0 |
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา
คำติชม Entity Framework
Entity Framework เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: