Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
The BOMapper's allow null option and the "Allow Null" setting within the DDT are independent; one does not pull from the other. Whether you have the "Allow Null" option checked or not, to configure a business object to use NULL values, you need to configure the field within the BOMapper to the appropriate value, and set the "AllowNullValues" property on the business object to "true." The AllowNullValues property doesn't determine what values you can set on your field properties, but tells the business object not to initialize new rows (if the value is false, when you create a new row through NewRow() or Add(), the business object initializes all values within the new row to remove the DBNull.Value values.
|