次の方法で共有


RelationalDbFunctionAttributeConvention.ProcessModelAnnotationChanged メソッド

定義

モデルで注釈が変更された後に呼び出されます。

public virtual void ProcessModelAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
abstract member ProcessModelAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
override this.ProcessModelAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Overridable Sub ProcessModelAnnotationChanged (modelBuilder As IConventionModelBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

パラメーター

modelBuilder
IConventionModelBuilder

モデルのビルダー。

name
String

注釈名。

annotation
IConventionAnnotation

新しい注釈。

oldAnnotation
IConventionAnnotation

古い注釈。

context
IConventionContext<IConventionAnnotation>

規則の実行に関連する追加情報。

実装

適用対象