Share via


OwnedNavigationSplitViewBuilder<TOwnerEntity,TDependentEntity> 類別

定義

使用 ModelBuilder API 時,這個類別的實例會從方法傳回,而且不是設計成直接在應用程式程式碼中建構。

public class OwnedNavigationSplitViewBuilder<TOwnerEntity,TDependentEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitViewBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>> where TOwnerEntity : class where TDependentEntity : class
type OwnedNavigationSplitViewBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> = class
    inherit OwnedNavigationSplitViewBuilder
    interface IInfrastructure<OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity>>
Public Class OwnedNavigationSplitViewBuilder(Of TOwnerEntity, TDependentEntity)
Inherits OwnedNavigationSplitViewBuilder
Implements IInfrastructure(Of OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity))

類型參數

TOwnerEntity

擁有關聯性的實體類型。

TDependentEntity

關聯性的相依實體類型。

繼承
OwnedNavigationSplitViewBuilder<TOwnerEntity,TDependentEntity>
實作
IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>

建構函式

OwnedNavigationSplitViewBuilder<TOwnerEntity,TDependentEntity>(StoreObjectIdentifier, OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>)

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不需任何通知。 您應該只在程式碼中直接使用它,並特別小心,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

屬性

MappingFragment

正在設定的對應片段。

(繼承來源 OwnedNavigationSplitViewBuilder)
Name

指定的檢視名稱。

(繼承來源 OwnedNavigationSplitViewBuilder)
Schema

指定的檢視架構。

(繼承來源 OwnedNavigationSplitViewBuilder)

方法

HasAnnotation(String, Object)

在檢視上加入或更新批註。 如果 中 annotation 指定索引鍵的注釋已經存在,則會更新其值。

Property(String)

將屬性對應至目前檢視上的資料行,並在屬性對應至多個檢視時,傳回可用來提供檢視特定組態的物件。

(繼承來源 OwnedNavigationSplitViewBuilder)
Property<TProperty>(Expression<Func<TDependentEntity,TProperty>>)

將屬性對應至目前檢視上的資料行,並在屬性對應至多個檢視時,傳回可用來提供檢視特定組態的物件。

Property<TProperty>(String)

將屬性對應至目前檢視上的資料行,並在屬性對應至多個檢視時,傳回可用來提供檢視特定組態的物件。

(繼承來源 OwnedNavigationSplitViewBuilder)

明確介面實作

IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>.Instance

使用 ModelBuilder API 時,這個類別的實例會從方法傳回,而且不是設計成直接在應用程式程式碼中建構。

IInfrastructure<OwnedNavigationBuilder>.Instance

使用 ModelBuilder API 時,這個類別的實例會從方法傳回,而且不是設計成直接在應用程式程式碼中建構。

(繼承來源 OwnedNavigationSplitViewBuilder)

擴充方法

GetInfrastructure<T>(IInfrastructure<T>)

從使用 IInfrastructure<T> 隱藏的屬性取得值。

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

適用於