Class FieldTypeConvert
FieldTypeConvert contains the interface to use when you want to convert a field to another type, for example from blob to varchar.
Implements
Inherited Members
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public sealed class FieldTypeConvert : DatabaseFunctions, ICloneable
Constructors
FieldTypeConvert(FieldInfo, FieldDataType)
Initializes a new instance of the FieldTypeConvert class.
Declaration
public FieldTypeConvert(FieldInfo field, FieldDataType newType)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field | The field you want to convert |
FieldDataType | newType | The fieldtype you want to convert to |
FieldTypeConvert(FieldInfo, FieldDataType, Int32)
Initializes a new instance of the FieldTypeConvert class.
Declaration
public FieldTypeConvert(FieldInfo field, FieldDataType newType, int length)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field | The field you want to convert |
FieldDataType | newType | The fieldtype you want to convert to |
Int32 | length | The length of the converted field |
Properties
ConvertFieldType
The new type of the converted field.
Declaration
public FieldDataType ConvertFieldType { get; }
Property Value
Type | Description |
---|---|
FieldDataType |
ConvertLength
The new length of the converted field.
Declaration
public int ConvertLength { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
Clone()
Clone the query. Parameter values are shared between the original and the clone.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
Object | Copy of the NOTLIKE node |
Overrides
Remarks
This method is used by the
ToString()
String output.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | CONVERT(a) |
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)