共用方式為


ConventionSet.ForeignKeyPropertiesChangedConventions 屬性

定義

變更外鍵的屬性或主體索引鍵時要執行的慣例。

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

屬性值

適用於