共用方式為


NotMappedTypeAttributeConvention 類別

定義

在模型中的類型上處理 之 實例 NotMappedAttribute 的慣例。

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

建構函式

NotMappedTypeAttributeConvention()

在模型中的類型上處理 之 實例 NotMappedAttribute 的慣例。

方法

Apply(ConventionTypeConfiguration, NotMappedAttribute)

在模型中的類型上處理 之 實例 NotMappedAttribute 的慣例。

Apply(ConventionTypeConfiguration, TAttribute)

將此慣例套用至已套用 TAttribute 類型的屬性的類別。

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

開始設定適用于模型中所有屬性的輕量型慣例。

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

開始設定輕量型慣例,此慣例會套用至模型中指定類型的所有基本屬性。

(繼承來源 Convention)
Types()

開始設定適用于模型中所有對應類型的輕量型慣例。

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

開始設定輕量型慣例,此慣例會套用至衍生自或實作指定型別之模型中的所有對應型別。

(繼承來源 Convention)

適用於