Share via


OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity> 類別

定義

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

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

類型參數

TOwnerEntity

擁有關聯性的實體類型。

TDependentEntity

關聯性的相依實體類型。

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

建構函式

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

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

屬性

InternalMappingFragment

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

(繼承來源 OwnedNavigationSplitTableBuilder)
MappingFragment

正在設定的對應片段。

(繼承來源 OwnedNavigationSplitTableBuilder)
Metadata

正在設定的實體型別。

(繼承來源 OwnedNavigationSplitTableBuilder)
Name

指定的資料表名稱。

(繼承來源 OwnedNavigationSplitTableBuilder)
Schema

指定的資料表架構。

(繼承來源 OwnedNavigationSplitTableBuilder)

方法

ExcludeFromMigrations(Boolean)

設定移轉要忽略的資料表。

HasAnnotation(String, Object)

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

HasTrigger(String)

在資料表上設定資料庫觸發程式。

(繼承來源 OwnedNavigationSplitTableBuilder)
Property(String)

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

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

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

Property<TProperty>(String)

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

(繼承來源 OwnedNavigationSplitTableBuilder)

明確介面實作

IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>.Instance

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

IInfrastructure<OwnedNavigationBuilder>.Instance

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

(繼承來源 OwnedNavigationSplitTableBuilder)

擴充方法

GetInfrastructure<T>(IInfrastructure<T>)

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

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

適用於