Show / Hide Table of Contents

Class FieldTypeConvert

FieldTypeConvert contains the interface to use when you want to convert a field to another type, for example from blob to varchar.

Inheritance
Object
QueryElement
Argument
DatabaseFunctions
FieldTypeConvert
Implements
ICloneable
Inherited Members
DatabaseFunctions.GetMainField()
DatabaseFunctions.Field
Argument.Equal(Argument)
Argument.UnEqual(Argument)
Argument.LessThan(Argument)
Argument.LessThanOrEqual(Argument)
Argument.GreaterThan(Argument)
Argument.GreaterThanOrEqual(Argument)
Argument.Like(Argument)
Argument.Like(String)
Argument.NotLike(Argument)
Argument.NotBetween(Argument, Argument)
Argument.Between(Argument, Argument)
Argument.In(Argument[])
Argument.HasAny(Argument[])
Argument.HasAll(Argument[])
Argument.MissingAny(Argument[])
Argument.MissingAll(Argument[])
Argument.IsNull()
Argument.IsNotNull()
Argument.NotIn(Argument[])
Argument.ToArgumentArray<T>(T[])
Argument.ToArgumentArray<T>(T[], Boolean)
Argument.GetSubElements()
Argument.Alias
Argument.DataType
Argument.Size
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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
QueryElement.Clone()
Remarks

This method is used by the to modify a query with sentry extensions without affecting the original query.

ToString()

String output.

Declaration
public override string ToString()
Returns
Type Description
String

CONVERT(a)

Overrides
Object.ToString()

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top