Table of Contents

Enum DataFieldType

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

The data-type of a data field

[Flags]
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum DataFieldType
Extension Methods

Fields

Blob = 256

Blob

Boolean = 128

Boolean (integer always, 1 = true, else false)

Date = 32

Date (date)

DateTime = 64

DateTime (datetime, timestamp, etc)

Decimal = 8

Decimal (decimal(18, 4))

Implied Precision and Scale (18, 4)

Example: @DECIMAL becomes decimal(18, 4)

Decimal_ = 16

Decimal (decimal(?, ?))

The user provides the Precision and Scale explicitly.

Example: @DECIMAL_(10, 2) becomes decimal(10, 2)

Double = 4

Double (float, double precision, etc)

Integer = 2

Integer

None = 0

None

String = 1

String (nvarchar, varchar)

TextBlob = 512

Text Blob