Table of Contents

Method ModifyPrecisionScale

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

ModifyPrecisionScale(byte, byte)

Changes the precision and scale of this column and marks it for update via UpdateSchema(Schema, bool).

public Column ModifyPrecisionScale(byte precision, byte scale)

Parameters

precision byte

The new total number of significant digits.

scale byte

The new number of digits to the right of the decimal point.

Returns

Column

This column instance, to allow chaining.

Remarks

Automatically sets ColumnUpdate to true, causing UpdateSchema to issue an ALTER TABLE ALTER COLUMN (or equivalent) statement for this column. Only meaningful for numeric types such as Decimal.