Adf.Base.Validation.MaxDataLengthAttribute.MaxDataLengthAttribute C# (CSharp) Method

MaxDataLengthAttribute() public method

Creates a new MaxLengthAttribute instance with the supplied data length.
public MaxDataLengthAttribute ( int precision, int scale ) : System
precision int The supplied precision.
scale int The supplied scale.
return System
        public MaxDataLengthAttribute(int precision, int scale = 0)
        {
            this.precision = precision;
            this.scale = scale;
        }