I understand what Peter has said, and that makes sense that the BO thinks it is dirty because of the difference in values between it and the database, depending on how you set the "Null option value" selected in the BO Mapper.I now have data in every single column of the table, and all rows now set to not allow nulls. I still get the same dirty BO when I navigate.
A. I have set the BO to "Return Alternate on Null" on all columns and tried that as well. Same result, can't navigate - causes dirty BO.
B. I have set the BO to "Return Alternate on Null / Set Alternate on Null" on all columns and tried that as well. Same result, can't navigate - causes dirty BO.
This is how I understand the "Null option value" to work.....
Return Alternate on Null - If the DB column is null, it returns the alternate value to the BO AND updates the DB Column with the alternate value if one is not supplied otherwise.
Return and Set Alternate on Null - If the DB column is null, it returns the alternate value to the BO, but does NOT update the DB column with the alternate. i.e. it leaves the DB column alone unless a value is provided otherwise.
Both of these seems backwards to me. i.e. Return and Set should return alt value to BO and Set value in DB.
It also seems like the whole idea of the BO Mapper with the Null option value, is to not have to write code to get around null values. What am I missing here?
???????????????????