Global setting to return non-NULL value


Author
Message
Chan
Chan
Advanced StrataFrame User (731 reputation)Advanced StrataFrame User (731 reputation)Advanced StrataFrame User (731 reputation)Advanced StrataFrame User (731 reputation)Advanced StrataFrame User (731 reputation)Advanced StrataFrame User (731 reputation)Advanced StrataFrame User (731 reputation)Advanced StrataFrame User (731 reputation)Advanced StrataFrame User (731 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
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

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search