共用方式為


ComplexPropertiesConfigurationBuilder<TProperty> 類別

定義

提供簡單的 API 介面,以在慣例執行之前設定屬性預設值。

public class ComplexPropertiesConfigurationBuilder<TProperty> : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexPropertiesConfigurationBuilder
type ComplexPropertiesConfigurationBuilder<'Property> = class
    inherit ComplexPropertiesConfigurationBuilder
Public Class ComplexPropertiesConfigurationBuilder(Of TProperty)
Inherits ComplexPropertiesConfigurationBuilder

類型參數

TProperty
繼承
ComplexPropertiesConfigurationBuilder<TProperty>

備註

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

建構函式

ComplexPropertiesConfigurationBuilder<TProperty>(ComplexPropertyConfiguration)

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

屬性

Configuration

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

(繼承來源 ComplexPropertiesConfigurationBuilder)

適用於