次の方法で共有


MaxLengthAttributeConvention クラス

定義

モデル内のプロパティで見つかった の MaxLengthAttribute インスタンスを処理する規則。

public class MaxLengthAttributeConvention : System.Data.Entity.ModelConfiguration.Conventions.PrimitivePropertyAttributeConfigurationConvention<System.ComponentModel.DataAnnotations.MaxLengthAttribute>
type MaxLengthAttributeConvention = class
    inherit PrimitivePropertyAttributeConfigurationConvention<MaxLengthAttribute>
Public Class MaxLengthAttributeConvention
Inherits PrimitivePropertyAttributeConfigurationConvention(Of MaxLengthAttribute)
継承
継承
MaxLengthAttributeConvention

コンストラクター

MaxLengthAttributeConvention()

モデル内のプロパティで見つかった の MaxLengthAttribute インスタンスを処理する規則。

メソッド

Apply(ConventionPrimitivePropertyConfiguration, MaxLengthAttribute)

モデル内のプロパティで見つかった の MaxLengthAttribute インスタンスを処理する規則。

Apply(ConventionPrimitivePropertyConfiguration, TAttribute)

TAttribute 型の属性が適用されているプロパティにこの規則を適用します。

(継承元 PrimitivePropertyAttributeConfigurationConvention<TAttribute>)
Properties()

モデル内のすべてのプロパティに適用される軽量規則の構成を開始します。

(継承元 Convention)
Properties<T>()

モデル内の指定した型のすべてのプリミティブ プロパティに適用される軽量規則の構成を開始します。

(継承元 Convention)
Types()

モデル内のすべてのマップされた型に適用される軽量規則の構成を開始します。

(継承元 Convention)
Types<T>()

指定した型から派生または実装するモデル内のすべてのマップされた型に適用される軽量規則の構成を開始します。

(継承元 Convention)

適用対象