Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
When you add a new record, SF initializes all of the fields within the record so that there are no DBNull.Value fields. This functionality can be turned off on the business object by setting the AllowNullValuesOnNewRow property to True on the business object. Most likely, your enum did not have a value for 0, which is what the integer fields are initialized to. So, but, explicitly setting the value for the field within SetDefaultValues() will always work.
|