Enum DataFieldType
The data-type of a data field
[Flags]
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum DataFieldType
- Extension Methods
Fields
Blob = 256Blob
Boolean = 128Boolean (integer always, 1 = true, else false)
Date = 32Date (date)
DateTime = 64DateTime (datetime, timestamp, etc)
Decimal = 8Decimal (decimal(18, 4))
Implied Precision and Scale
(18, 4)Example:
@DECIMALbecomesdecimal(18, 4)Decimal_ = 16Decimal (decimal(?, ?))
The user provides the Precision and Scale explicitly.
Example:
@DECIMAL_(10, 2)becomesdecimal(10, 2)Double = 4Double (float, double precision, etc)
Integer = 2Integer
None = 0None
String = 1String (nvarchar, varchar)
TextBlob = 512Text Blob