다음을 통해 공유


AnnotatableBase.OnAnnotationSet(String, Annotation, Annotation) 메서드

정의

주석을 설정하거나 제거할 때 호출됩니다.

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

집합 주석의 키입니다.

annotation
Annotation

주석 집합입니다.

oldAnnotation
Annotation

이전 주석입니다.

반환

설정된 주석입니다.

적용 대상