共用方式為


ConventionSet.ModelAnnotationChangedConventions 屬性

定義

在模型上設定或移除注釋時要執行的慣例。

public virtual System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IModelAnnotationChangedConvention> ModelAnnotationChangedConventions { get; }
public virtual System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelAnnotationChangedConvention> ModelAnnotationChangedConventions { get; }
public virtual System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelAnnotationChangedConvention> ModelAnnotationChangedConventions { get; }
member this.ModelAnnotationChangedConventions : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IModelAnnotationChangedConvention>
member this.ModelAnnotationChangedConventions : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelAnnotationChangedConvention>
member this.ModelAnnotationChangedConventions : System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelAnnotationChangedConvention>
Public Overridable ReadOnly Property ModelAnnotationChangedConventions As IList(Of IModelAnnotationChangedConvention)
Public Overridable ReadOnly Property ModelAnnotationChangedConventions As List(Of IModelAnnotationChangedConvention)

屬性值

IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IModelAnnotationChangedConvention>

適用於