다음을 통해 공유


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

정의

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

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

매개 변수

value
Nullable<Int32>

속성의 최대 길이입니다. 'null'을 설정하면 모든 최대 길이 제한이 속성에서 제거됩니다.

반환

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

적용 대상