共用方式為


ConventionSet.ForeignKeyNullNavigationSetConventions 屬性

定義

當導覽設定 null 為外鍵時所執行的慣例。

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

屬性值

適用於