다음을 통해 공유


StringColumnConfiguration.HasMaxLength(Nullable<Int32>) 메서드

정의

속성이 지정된 최대 길이를 갖도록 구성합니다.

public System.Data.Entity.ModelConfiguration.Configuration.StringColumnConfiguration HasMaxLength(Nullable<int> value);
override this.HasMaxLength : Nullable<int> -> System.Data.Entity.ModelConfiguration.Configuration.StringColumnConfiguration
Public Function HasMaxLength (value As Nullable(Of Integer)) As StringColumnConfiguration

매개 변수

value
Nullable<Int32>

속성의 최대 길이입니다. 'null'을 설정하면 열에 기본 길이가 사용됩니다.

반환

여러 호출을 연결할 수 있도록 동일한 StringColumnConfiguration instance.

적용 대상