次の方法で共有


ConventionAnnotatable.OnAnnotationSet メソッド

定義

オーバーロード

OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)

注釈が設定または削除されたときに呼び出されます。

OnAnnotationSet(String, Annotation, Annotation)

注釈が設定または削除されたときに呼び出されます。

OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)

注釈が設定または削除されたときに呼び出されます。

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)

注釈が設定または削除されたときに呼び出されます。

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

古い注釈。

戻り値

設定された注釈。

適用対象