다음을 통해 공유


ConventionAnnotatable.OnAnnotationSet 메서드

정의

오버로드

OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)

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

OnAnnotationSet(String, Annotation, Annotation)

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

OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)

Source:
ConventionAnnotatable.cs
Source:
ConventionAnnotatable.cs
Source:
ConventionAnnotatable.cs
Source:
ConventionAnnotatable.cs
Source:
ConventionAnnotatable.cs

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

protected virtual Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation);
protected virtual Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation);
override this.OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Protected Overridable Function OnAnnotationSet (name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation) As IConventionAnnotation

매개 변수

name
String

집합 주석의 키입니다.

annotation
IConventionAnnotation

주석 집합입니다.

oldAnnotation
IConventionAnnotation

이전 주석입니다.

반환

설정된 주석입니다.

적용 대상

OnAnnotationSet(String, Annotation, Annotation)

Source:
ConventionAnnotatable.cs
Source:
ConventionAnnotatable.cs
Source:
ConventionAnnotatable.cs
Source:
ConventionAnnotatable.cs
Source:
ConventionAnnotatable.cs

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

protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation oldAnnotation);
protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation? OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? oldAnnotation);
override this.OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overrides Function OnAnnotationSet (name As String, annotation As Annotation, oldAnnotation As Annotation) As Annotation

매개 변수

name
String

집합 주석의 키입니다.

annotation
Annotation

주석 집합입니다.

oldAnnotation
Annotation

이전 주석입니다.

반환

설정된 주석입니다.

적용 대상