共用方式為


ConventionSet.PrimaryKeyChangedConventions 屬性

定義

變更主鍵時要執行的慣例。

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

屬性值

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

適用於