Business Object Mapper


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
James,



Lets check on some basics first.



- Have you setup the connection to the SF database? This is done from the Database Connection... menu item on the StrataFrame menu within VS. This connects to the StrataFrame database that holds meta data about all your projects. It is used by the BO Mapper and localization features.



- Are the project(s) in your solution showing up in the BO Mapper? Are there BOs listed under the appropriate project(s)? (with the BO Mapper, you first create BOs, then map them to tables).



- Did you configure the project to connect to a data source? Each project gets configured to connect to a specific data source. This is were you specify if the BOs in that project will use SQL or Oracle or Access etc. If a project is not configure it will have a little red X in lower left corner of its icon.



- Is the BO configured? Once the project is configured you then need to configure the BO to use a specific table to build itself. Once the table is selected, the BO will show all the columns in that table (a view can be used too). If a BO is not configured it will have a red X in middle of its icon.



Once you have it that far you can then customize as needed, the right click on the BO and click Build Partial.



Also, don't forget to check out help (if you haven't already). The tutorial covers how this works step by step. See the following help topic:

Application Framework|Getting Started|Tutorials|Creating a WinForms App [VB]|Adding a Business Object.



Welcome to SF James!



James Blackburn
James Blackburn
StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)
Group: Forum Members
Posts: 1, Visits: 9
I am very new to VS and SF so please excuse a silly question. I have been trying to get the BO Mapper to work I it will not display any tables or columns. First I tried to connect to my Sql Anywhere DB using OLEdb. I could not get the wizard to work because it was insisting on selecting a file like with an Access DB as the file type. I tried filling in the connection string on the properties window. No errors or tables, noting at all. Next I connected to the SF demo database using the wizard and it said the connection was good. Still no list??? Not sure where to go next.



Thanks.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search