Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
Well, it all depends on when you actually set the UpdateUsingStoredProcedure property to true. It sounds like it is a standard .NET serialization issue. For example, when you modify the actual BO itself and set this property to true, you could technically override it on the form, thus creating a serialized value in the form designer class. To prevent this from ever happening, you could do several things. The first would be to just force this value to be initialized or set in the BO class itself in code (i.e. the OnBeforeSave). This would ensure that this property is properly set prior to use.
I am unsure why your project is doing this, but I would start by looking at the BO instance on the form or where you have it dropped to see if the form designer is overriding this setting. Otherwise, you could force it as I mentioned above.
|