ConventionSet.ForeignKeyAddedConventions 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
新增外鍵時要執行的慣例。
C#
public virtual System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IForeignKeyConvention> ForeignKeyAddedConventions { get; }
C#
public virtual System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IForeignKeyAddedConvention> ForeignKeyAddedConventions { get; }
C#
public virtual System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyAddedConvention> ForeignKeyAddedConventions { get; }
C#
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>
產品 | 版本 |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |