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>

适用于