MaxLengthAttributeConvention クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
モデル内のプロパティで見つかった の 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
コンストラクター
| MaxLengthAttributeConvention() |
モデル内のプロパティで見つかった の MaxLengthAttribute インスタンスを処理する規則。 |
メソッド
| Apply(ConventionPrimitivePropertyConfiguration, MaxLengthAttribute) |
モデル内のプロパティで見つかった の MaxLengthAttribute インスタンスを処理する規則。 |
| Apply(ConventionPrimitivePropertyConfiguration, TAttribute) |
TAttribute 型の属性が適用されているプロパティにこの規則を適用します。 (継承元 PrimitivePropertyAttributeConfigurationConvention<TAttribute>) |
| Properties() |
モデル内のすべてのプロパティに適用される軽量規則の構成を開始します。 (継承元 Convention) |
| Properties<T>() |
モデル内の指定した型のすべてのプリミティブ プロパティに適用される軽量規則の構成を開始します。 (継承元 Convention) |
| Types() |
モデル内のすべてのマップされた型に適用される軽量規則の構成を開始します。 (継承元 Convention) |
| Types<T>() |
指定した型から派生または実装するモデル内のすべてのマップされた型に適用される軽量規則の構成を開始します。 (継承元 Convention) |