SqlFacetAttribute.Precision SqlFacetAttribute.Precision SqlFacetAttribute.Precision SqlFacetAttribute.Precision Property

定义

用户定义类型的返回类型的精度。The precision of the return type of the user-defined type.

public:
 property int Precision { int get(); void set(int value); };
public int Precision { get; set; }
member this.Precision : int with get, set
Public Property Precision As Integer

属性值

表示返回类型的精度的 Int32An Int32 representing the precision of the return type.

注解

Precision属性是仅对数值类型有效。The Precision property is valid only for numeric types. Scale设置时,还必须指定属性Precision属性。The Scale property must also be specified when setting the Precision property.

最大值Precision属性为 38; 默认值为 38。The maximum value of the Precision property is 38; the default value is 38.

适用于