Setting a nullable string field (verified with a char(1)) to a null or empty string saves a value where a NULL seems to be expected as when setting a nullable integer (see details below).
Is there a better workaround than the one below?
Thanks
David
Version: LLBLGEN 2.6 June 6, 2008.
Example:
dim value as string
entity.NullableStringProperty = value
Saves a single character empty value rather than NULL.
Other nullable types do save a NULL in similar assignments. e.g.,
dim value as integer?
entity.NullableIntegerProperty = value
Workaround:
Override the property as follows:
Set
if not string.isnullorempy(value) then
mybase.NullableStringProperty = value
endif
end Set