Allowed Entity Property Types
Beatrix works with a strict set of valid types, as shown in the table below. Any type listed in the 'Beatrix Type Keyword' column can be used as a 'Type' value for the properties of your entities.
Beatrix Type Keyword | Corresponding .NET Type | Allows 'IsNullable' Flag |
---|---|---|
bool | System.Boolean | |
byte | System.Byte | |
sbyte | System.SByte | |
char | System.Char | |
DateTimeOffset | System.DateTimeOffset | |
decimal | System.Decimal | |
double | System.Double | |
float | System.Single | |
int | System.Int32 | |
uint | System.UInt32 | |
long | System.Int64 | |
ulong | System.UInt64 | |
short | System.Int16 | |
ushort | System.UInt16 | |
string | System.String | |
Guid | System.Guid |
Examples:
1 2 3 4 5 6 7 |
|
External Documentation
To learn more about the C# Types, see the official documentation available at the links below.