TechTalk Genome v4.2

TechTalk.Genome.NullableTypes Namespace

Database platform independent type system that supports representation of database NULL values.

Remarks

The supported nullable types can be found in the namespace TechTalk.Genome.NullableTypes. The nullable types can be used on all supported database platforms, and are suitable to be passed across Web Service layers and therefore can be used as fields of Data Transfer Objects as well with the Genome Wire Object Protocol.

The nullable types in Genome are based on the NullableTypes class library at http://nullabletypes.sourceforge.net.

Classes

ClassDescription
NullableNullValueException The exception that is thrown when the Value property of a TechTalk.Genome.NullableTypes structure is set to null.
NullableTruncateException The exception that is thrown when setting a value into a NullableTypes structure would truncate that value.
NullableTypeException The base exception class for the TechTalk.Genome.NullableTypes exceptions.

Interfaces

InterfaceDescription
INullable All of the NullableTypes objects and structures implement the INullable interface, reflecting the fact that, unlike the corresponding system types, NullableTypes can legally contain the value Null.

Structures

StructureDescription
NullableBoolean Represents a boolean value that is either NullableBoolean.True, NullableBoolean.False or NullableBoolean.Null.
NullableByte Represents a byte value that is either an 8-bit unsigned integer in the range of 0 through 255 or NullableByte.Null.
NullableChar Represents a char value that is a Unicode character or NullableChar.Null.
NullableDateTime Represents an instant in time, but unlike System.DateTime, provides a Null value. Part of NullableTypes project.
NullableDecimal Represents a Decimal that is either a decimal number value or NullableDecimal.Null.
NullableDouble Represents a Double value that is either a double-precision floating point number or NullableDouble.Null. NullableDouble complies with the IEC 60559:1989 (IEEE 754) standard for binary floating-point arithmetic as double.
NullableGuid Represents a Guid value that is globally unique identifier (GUID) or NullableGuid.Null.
NullableInt16 Represents an Int16 that is either a 16-bit signed integer or NullableInt16.Null.
NullableInt32 Represents an UInt32 that is either a 32-bit unsigned integer or NullableInt32.Null.
NullableInt64 Represents an UInt64 that is either a 64-bit unsigned integer or NullableInt64.Null.
NullableSByte Represents an sbyte value that is either an 8-bit signed integer in the range of -128 through 127 or NullableSByte.Null.
NullableSingle Represents a Single value that is either a single-precision floating point number or NullableSingle.Null. NullableSingle complies with the IEC 60559:1989 (IEEE 754) standard for binary floating-point arithmetic as float.
NullableString Represents a String that is either a variable-length stream of characters or NullableString.Null.
NullableUInt16 Represents an UInt16 that is either a 16-bit unsigned integer or NullableUInt16.Null.
NullableUInt32 Represents an Int32 that is either a 32-bit signed integer or NullableUInt32.Null.
NullableUInt64 Represents an Int64 that is either a 64-bit signed integer or NullableUInt64.Null.

Enumerations

EnumerationDescription
TypeCode Specifies the type of a NullableTypes structure.