共用方式為


ConventionSet.ForeignKeyAddedConventions 屬性

定義

新增外鍵時要執行的慣例。

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

屬性值

IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IForeignKeyConvention>
IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IForeignKeyAddedConvention>

適用於