語言

ComplexTypeAttributeConvention 類別

定義

在模型中處理 在 ComplexTypeAttribute 型別上的實例。

public class ComplexTypeAttributeConvention : System.Data.Entity.ModelConfiguration.Conventions.TypeAttributeConfigurationConvention<System.ComponentModel.DataAnnotations.Schema.ComplexTypeAttribute>
type ComplexTypeAttributeConvention = class
    inherit TypeAttributeConfigurationConvention<ComplexTypeAttribute>
Public Class ComplexTypeAttributeConvention
Inherits TypeAttributeConfigurationConvention(Of ComplexTypeAttribute)
繼承
繼承
ComplexTypeAttributeConvention

建構函式

名稱 Description
ComplexTypeAttributeConvention()

在模型中處理 在 ComplexTypeAttribute 型別上的實例。

方法

名稱 Description
Apply(ConventionTypeConfiguration, ComplexTypeAttribute)

將此慣例應用於屬性為 TAttribute 的類別。

Apply(ConventionTypeConfiguration, TAttribute)

將此慣例應用於屬性為 TAttribute 的類別。

(繼承來源 TypeAttributeConfigurationConvention<TAttribute>)
Properties()

開始配置適用於模型中所有屬性的輕量級慣例。

(繼承來源 Convention)
Properties<T>()

開始配置一套輕量級慣例,適用於模型中指定類型的所有原始屬性。

(繼承來源 Convention)
Types()

開始配置一套適用於模型中所有映射型態的輕量級慣例。

(繼承來源 Convention)
Types<T>()

開始配置一套輕量級慣例,適用於模型中所有源自或實作指定型別的映射型別。

(繼承來源 Convention)

適用於