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



Business Object MapperExpand / Collapse
Author
Message
Posted 07/17/2006 12:47:29 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 12/14/2006 1:40:51 AM
Posts: 13, Visits: 63
Hi,

I have a following situation. I need to create a set of business objects which is mapped to either a VFP tables or SQL tables. However both set may have slightly different naming in the fields but content wise are the same. Can I achieve this?

Regards.
Post #1870
Posted 07/17/2006 1:10:29 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
If your structures are going to be physically different, then you will need to either use a view of some sort or create two business objects.  You could manually create custom properties that pull from the proper structure depending upon the data source.  But this would require much more work. 
Post #1872
Posted 07/17/2006 1:17:35 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 12/14/2006 1:40:51 AM
Posts: 13, Visits: 63
Hi Trent,

Are u suggesting to use custom fields? We have tried using OLE Provider but the object mapper does not show/allow views to be selected.

May I know how does the object mapper map the biz objects+fields to the table+fields? Is it stored in table or XML?

Regards
Post #1873
Posted 07/17/2006 1:20:49 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
In these scenarios we use the Database Deployment Toolkit to create our structures, map to the DDT item, but never actually deploy the structure.  It is strictly for mapping the BOs.  I will look at the BO Mapper and see if there is something we can do to access the views, but in the mean time you may want to look at the video and sample about mapping to XML structures.  This may give you an idea or two.

http://forum.strataframe.net/Topic771-17-1.aspx 

Post #1874
Posted 07/17/2006 1:21:38 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 12/14/2006 1:40:51 AM
Posts: 13, Visits: 63
Hi Trent,

To add on to my previous reply, can u give an example how u would do the following:

"then you will need to either use a view of some sort or create two business objects. You could manually create custom properties that pull from the proper structure depending upon the data source."


Regards
Post #1875
Posted 07/17/2006 1:24:05 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
SQL Server views show up in the BO Mapper.  I will look into the VFP views and see why they do not appear.  As for the other, refer to my last post and watch the video on the business objects that use XML as a data source.  This is probably not the solution you are looking for, but it will give you some ideas on how you might go after this problem.
Post #1876
Posted 07/17/2006 7:31:39 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 12/14/2006 1:40:51 AM
Posts: 13, Visits: 63
SQL Server views show up in the BO Mapper. I will look into the VFP views and see why they do not appear. As for the other, refer to my last post and watch the video on the business objects that use XML as a data source. This is probably not the solution you are looking for, but it will give you some ideas on how you might go after this problem.

Hi Trent,

I have watched the video and 1 question I am not clear how does the XML tie the backend database? Does it auto save intot backend whether it is SQLServer of VFP backend?

Is there going be a release this July and on schedule?

Regards
Post #1877
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 3:21am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.