Method ReType
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
ReType(DataType, int)
Re-types this column to a compatible data type without marking it for a database schema update.
public void ReType(DataType newType, int newSize = 0)
Parameters
newTypeDataTypeThe target data type. Must be a supported compatible type for the current data type.
newSizeintThe new size to apply when converting to a sized type such as
VarChar. Defaults to0.
Remarks
ReType is used internally during schema loading to reconcile database-reported types
with Velocity's type model. It does not set ColumnUpdate and
does not generate any DDL. Supported conversions are:
Clob→VarCharorCharDecimal→DoubleGeometry/Geography→VarCharorClob(Full Edition only)
Unsupported conversions are silently ignored.