/
LogicalDataType.cs
93 lines (77 loc) · 2 KB
/
LogicalDataType.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
namespace DevZest.Data
{
/// <summary>
/// Enumeration of logical data types of <see cref="Column" />
/// </summary>
public enum LogicalDataType
{
/// <summary>
/// Custom data type, not one of the static data types we know
/// </summary>
Custom = 0,
/// <summary>
/// DateTime data type
/// </summary>
DateTime = 1,
/// <summary>
/// Date data type
/// </summary>
Date = 2,
/// <summary>
/// Time data type
/// </summary>
Time = 3,
/// <summary>
/// Duration data type
/// </summary>
Duration = 4,
/// <summary>
/// Phone number data type
/// </summary>
PhoneNumber = 5,
/// <summary>
/// Currency data type
/// </summary>
Currency = 6,
/// <summary>
/// Plain text data type
/// </summary>
Text = 7,
/// <summary>
/// Html data type
/// </summary>
Html = 8,
/// <summary>
/// Multiline text data type
/// </summary>
MultilineText = 9,
/// <summary>
/// Email address data type
/// </summary>
EmailAddress = 10,
/// <summary>
/// Password data type -- do not echo in UI
/// </summary>
Password = 11,
/// <summary>
/// URL data type
/// </summary>
Url = 12,
/// <summary>
/// URL to an Image -- to be displayed as an image instead of text
/// </summary>
ImageUrl = 13,
/// <summary>
/// Credit card data type
/// </summary>
CreditCard = 14,
/// <summary>
/// Postal code data type
/// </summary>
PostalCode = 15,
/// <summary>
/// File upload data type
/// </summary>
Upload = 16
}
}