要在字段里插入空值
castle有提供一组空值类型,可以如下实现:
[Property]
CLR Basic Type
Nullable Type
System.Boolean
Nullables.NullableBoolean
System.Byte
Nullables.NullableByte
System.Char
Nullables.NullableChar
System.DateTime
Nullables.NullableDateTime
System.Decimal
Nullables.NullableDecimal
System.Double
Nullables.NullableDouble
System.Guid
Nullables.NullableGuid
System.Int16
Nullables.NullableInt16
System.Int32
Nullables.NullableInt32
System.Int64
Nullables.NullableInt64
System.SByte
Nullables.NullableSByte
System.Single
Nullables.NullableSingle