StrataFrame Forum

Global setting to return non-NULL value

http://forum.strataframe.net/Topic8257.aspx

By Chan - 4/18/2007

Hi,

I am VFP for many years. I don't really like "NULL" in my life. It always give me problem. I know that, I can set BO mapper to return alternate value if the underlying value is NULL. However, I have too many fields to set. I would like to request to have global setting, so that BO mapper will generate getter property code to return non-null value based on underlying data type- "" for string, 0 (ZERO) for numeric/int/bit, '00000000-0000-0000-0000-000000000000' for GUID and etc.

Thank you