共用方式為


ConventionSet.ForeignKeyUniquenessConventions 屬性

定義

當外鍵的唯一性變更時要執行的慣例。

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

屬性值

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

適用於