i dont think thats the reponsibility of the bus object and we definitely shouldnt muck with your data . sometimes the whitespace is significant (like when doing exact queries). you can switch to varchar fields which strip trailing white space.
+++ rick ---
I hate it that when you scatter a data row to a wwBusiness object, and when there are string values in the table, your properties on the bus obj often have a lot of trailing spaces at the end of their property values. Becuase of this trailing white space from the table, I wind up having to use use Alltrim() ALL OVER THE PLACE!!!
Might you add a new feature to wwBusiness, with a option flag, so that after a Load() it would iterate over all the string properties and do Alltrim() to them.
Is it reasonable to have to bus object framework clean up the BO (trim the whitespace) like this? I mean, are there time when you’d WANT this messy whitespace on the end?
At least by having an option flag, each user of the framework could opt-in to this feature.