Table of Contents

Enum DataType

Namespace
YndigoBlue.Velocity.Enums
Assembly
YndigoBlue.Velocity.dll

Defines the data types supported by Velocity across different database systems.

public enum DataType

Fields

Blob = 0

Binary Large Object for storing binary data (images, files, etc.).

Boolean = 1

Boolean/logical value (true/false).

Byte = 2

8-bit unsigned integer (0 to 255).

Char = 3

Fixed-length character string.

Clob = 4

Character Large Object for storing large text data.

Date = 5

Date without time component.

DateTime = 6

Date and time without timezone.

Decimal = 7

Fixed-precision decimal number.

Double = 8

Double-precision floating-point number (64-bit).

Float = 9

Single-precision floating-point number (32-bit).

Geometry = 10

Planar geometric/geographic spatial data type.

Geography = 11

Geodetic (spherical) geographic spatial data type.

Integer = 12

32-bit signed integer.

Long = 13

64-bit signed integer.

Short = 14

16-bit signed integer.

Timestamp = 15

Timestamp with high precision.

VarChar = 16

Variable-length character string.

String = 17

Special type that encapsulates string values returned from queries.

Query = 18

Special type used when entering values into a record from a subquery.

Expression = 19

Special type used when a data type is calculated dynamically from an expression.

Guid = 20

Globally Unique Identifier (GUID/UUID).

Unsupported = 21

Special type indicating a database-specific type not supported by Velocity.

Remarks

Velocity provides a unified type system that maps to native database types. This abstraction allows code to work consistently across different database vendors. Some types are special-purpose and used only in specific contexts like queries or binding.