StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


12»»

Object MapperExpand / Collapse
Author
Message
Posted 06/07/2006 7:16:26 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 11:22:52 AM
Posts: 374, Visits: 1,882

In the v 1.41 6/6/2006 release the “Search for a Class Type” window in Object Mapper no longer locates enums within a business object.  You can still type in the enum name in the Custom Data Type field and everything works okay.

-Larry

Post #1446
Posted 06/08/2006 8:52:16 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
Working on it, Larry.  I'll see if I can't get it done before the update this morning that should fix your other DbNull problem.


www.bungie.net
Post #1451
Posted 06/08/2006 9:28:06 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
OK, it will now find the ***FieldNames enumeration and other nested enumerations within classes in your solution.  You will, however, have to build the partial class for a new business object at least once before the search window will find the FieldNames enumeration for that business object (otherwise, it hasn't been created, yet).


www.bungie.net
Post #1452
Posted 06/08/2006 10:27:15 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
The update has been posted to the MyAccount area.  This update fixes the issue described here as well as the InvalidCast exception you're receiving when you add a new record.


www.bungie.net
Post #1460
Posted 06/08/2006 11:45:11 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 11:22:52 AM
Posts: 374, Visits: 1,882

Ben,

OM is finding the enums within my project and I really like the customization wizard. It really simplifies the process of applying customizations to a group of fields.

With this release I’ve noticed something new. I’ve created some complex business objects that contain a nested SF BO. I created a base BO and marked it as MustInherit. Then within my complex object I create a new nested class that inherits from my base class. The previous version of OM did not ‘see’ the nested class while this version does. Since I only want to map the base class I just left the inherited BO un-configured and rebuilt everything. OM prints out some warning and error message but everything works okay. If I go ahead and configure the nested class a Designer file is created. Any idea what .Net will do with the extra designer file? I would assume that the compiler would use the inherited files and the additional file created by OM would be ignored.

-Larry

Post #1462
Posted 06/08/2006 11:57:06 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
Actually, the designer file for the MustInherit object will be used.  So, if there are properties in that designer file, then they will appear on all downstream objects.  Also, any configuration changes to make within the component designer will affect all downstream objects (unless you override them downstream) because the InitializeComponent() method within the MustInherit object will be called, just like all the others.  So, your best bet is probably going to be to just leave the business object unconfigured and ignore the warning.  Or map the business object to a DDT profile table that doesn't have any fields, then you won't have to worry about the fields showing up in inherited objects.


www.bungie.net
Post #1466
Posted 06/08/2006 12:20:41 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 11:22:52 AM
Posts: 374, Visits: 1,882
Ben,

I just tried compiling a project with the 'extra' designer file and it creates a bunch of compiler errors. Just leaving the nested class un-configured sounds like the easiest solution.

-Larry

Post #1467
Posted 06/08/2006 12:58:39 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
Hehe, yeah, probably is the best solution.


www.bungie.net
Post #1469
Posted 08/28/2006 7:40:56 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 9:57:58 PM
Posts: 658, Visits: 27,148
Is this problem back?

Nothing at all happens in the BO Mapper search screen and when trying to use an unum with a combobox, the "Compiling list of available enums" just hangs there and the search screen dissappears.

Thanks.
Post #2488