ConstructUpdateCommand Not Following Map

Nov 27, 2007 at 12:03 PM
When I create the Data Repository Classes from the Business Entities, the auto-generated function "ConstructUpdateCommand" only includes those properties that are string or integer - everything else it just ignores. The result is that database columns not having string or int datatypes are all set to null even though I mapped them with the wizard. Any ideas?
Dec 19, 2007 at 6:12 PM
I confirm this to be a problem in VB data access projects in both Update and Insert Factories.
I have experienced the "dropping" of business entity properties, and especially those defined as Nullable(Of Decimal).
The factory should be generating code that checks the .HasValue property instead of checking for Is Nothing.