다음을 통해 공유


IConventionPropertyBuilder.CanSetScale(Nullable<Int32>, Boolean) 메서드

정의

현재 구성 원본에서 이 속성에 대해 허용되는 데이터 크기를 설정할 수 있는지 여부를 나타내는 값을 반환합니다.

public bool CanSetScale (int? scale, bool fromDataAnnotation = false);
abstract member CanSetScale : Nullable<int> * bool -> bool
Public Function CanSetScale (scale As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Boolean

매개 변수

scale
Nullable<Int32>

속성의 소수 자릿수입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

true 이 속성에 대해 허용되는 데이터 크기를 설정할 수 있으면 입니다.

적용 대상