共用方式為


IComplexPropertyAnnotationChangedConvention.ProcessComplexPropertyAnnotationChanged 方法

定義

在複雜屬性上變更批註之後呼叫。

public void ProcessComplexPropertyAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
abstract member ProcessComplexPropertyAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Sub ProcessComplexPropertyAnnotationChanged (propertyBuilder As IConventionComplexPropertyBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

參數

propertyBuilder
IConventionComplexPropertyBuilder

複雜屬性的產生器。

name
String

批註名稱。

annotation
IConventionAnnotation

新的批註。

oldAnnotation
IConventionAnnotation

舊批註。

context
IConventionContext<IConventionAnnotation>

與慣例執行相關聯的其他資訊。

適用於