共用方式為


IConventionSkipNavigationBuilder 介面

定義

提供簡單的 API 介面,以設定 IConventionSkipNavigation 慣例的 。

資料庫提供者通常會使用這個介面, (和其他延伸模組) 。 它通常不會用於應用程式程式碼。

public interface IConventionSkipNavigationBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBaseBuilder
public interface IConventionSkipNavigationBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBaseBuilder<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder>
type IConventionSkipNavigationBuilder = interface
    interface IConventionPropertyBaseBuilder
    interface IConventionAnnotatableBuilder
type IConventionSkipNavigationBuilder = interface
    interface IConventionPropertyBaseBuilder<IConventionSkipNavigationBuilder>
    interface IConventionAnnotatableBuilder
Public Interface IConventionSkipNavigationBuilder
Implements IConventionPropertyBaseBuilder
Public Interface IConventionSkipNavigationBuilder
Implements IConventionPropertyBaseBuilder(Of IConventionSkipNavigationBuilder)
實作

備註

如需詳細資訊和範例,請參閱 模型建置慣例

屬性

Metadata

取得正在設定的導覽屬性。

ModelBuilder

取得模型產生器。

(繼承來源 IConventionAnnotatableBuilder)

方法

AutoInclude(Nullable<Boolean>, Boolean)

將此導覽設定為自動包含在查詢中。

CanRemoveAnnotation(String, Boolean)

傳回值,指出是否可以使用此組態來源移除具有指定名稱的注釋。

(繼承來源 IConventionAnnotatableBuilder)
CanSetAnnotation(String, Object, Boolean)

傳回值,指出是否可以從這個組態來源設定具有指定名稱和值的注釋。

(繼承來源 IConventionAnnotatableBuilder)
CanSetAutoInclude(Nullable<Boolean>, Boolean)

傳回值,指出是否可以將此導覽設定為自動包含在目前組態來源的查詢中。

CanSetField(FieldInfo, Boolean)

傳回值,指出是否可從目前的組態來源設定類似此屬性的物件支援欄位。

(繼承來源 IConventionPropertyBaseBuilder<TBuilder>)
CanSetField(String, Boolean)

傳回值,指出是否可從目前的組態來源設定類似此屬性的物件支援欄位。

(繼承來源 IConventionPropertyBaseBuilder<TBuilder>)
CanSetForeignKey(IConventionForeignKey, Boolean)

傳回值, ForeignKey 指出是否可以從指定的組態來源設定此導覽。

CanSetInverse(IConventionSkipNavigation, Boolean)

傳回值, Inverse 指出是否可以從指定的組態來源設定此導覽。

CanSetLazyLoadingEnabled(Nullable<Boolean>, Boolean)

傳回值,指出此流覽是否可以設定為從目前的組態來源啟用延遲載入。

CanSetPropertyAccessMode(Nullable<PropertyAccessMode>, Boolean)

傳回值, PropertyAccessMode 指出是否可以從目前的組態來源設定類似此屬性的物件。

(繼承來源 IConventionPropertyBaseBuilder<TBuilder>)
EnableLazyLoading(Nullable<Boolean>, Boolean)

將此流覽設定為啟用延遲載入。

HasAnnotation(String, Object, Boolean)

設定儲存在指定名稱下的批註。 如果具有指定名稱的注釋已經存在,且相同或更低 ConfigurationSource ,則會覆寫現有的注釋。

(繼承來源 IConventionPropertyBaseBuilder<TBuilder>)
HasField(FieldInfo, Boolean)

設定要用於此導覽的備份欄位。

HasField(String, Boolean)

設定要用於此導覽的備份欄位。

HasForeignKey(IConventionForeignKey, Boolean)

設定外鍵。

HasInverse(IConventionSkipNavigation, Boolean)

設定反向略過流覽。

HasNoAnnotation(String, Boolean)

從這個 物件中移除具有指定名稱的批註。

(繼承來源 IConventionPropertyBaseBuilder<TBuilder>)
HasNonNullAnnotation(String, Object, Boolean)

設定儲存在指定名稱下的批註。 如果具有指定名稱的注釋已經存在,且相同或更低 ConfigurationSource ,則會覆寫現有的注釋。 如果 null 已指定值,則移除批註。

(繼承來源 IConventionPropertyBaseBuilder<TBuilder>)
RemoveAnnotation(String, Boolean)
已過時。.

從這個 物件中移除具有指定名稱的批註。

(繼承來源 IConventionAnnotatableBuilder)
SetOrRemoveAnnotation(String, Object, Boolean)
已過時。.

設定或移除儲存在指定名稱下的批註。

(繼承來源 IConventionAnnotatableBuilder)
UsePropertyAccessMode(Nullable<PropertyAccessMode>, Boolean)

PropertyAccessMode設定要用於此導覽的 。

適用於