Support nullable-types Flexberry ORM and .NET
Nullable types are an extension to the usual types that can store the value
null (that is unlike the standard types, Nullable types allow the user to store any value in a field of scalar type).
Note: When designing information systems it is necessary to consider the difference between scalar and nullable types, choosing the more suitable for a particular situation type.
Standard Nullable-types in ORM Flexberry
Flexberry ORM provides the following Nullable-types (located in the Assembly ICSSoft.STORMNET.UserDataTypes.dll):
null. Accepts all values, which takes
intand can also be null.
NullableDateTime- type for storing date and time
null. Can store all of the values that keeps
NullableDecimal- type to store fractional numbers
Note: Implemented in Flexberry ORM Nullable types have now become obsolete. It is preferable to use the Nullable types provided .Net.</msg>
Nullable types .Net
.NET Framework supports Nullable-types. Flexberry ORM supports Nullable types .Net.
If code generation was used types
T?, which is equivalent according to msdn), it is necessary to produce the custom setting.