﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 04 Jul 2026 20:26:16 GMT</lastBuildDate><ttl>20</ttl><item><title>Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24356.aspx</link><description>Can I use an ole db connection to a Sybase database with the Business Object Mapper?&lt;/P&gt;&lt;P&gt;Our entire backend is Sybase and Sql anywhere...and I need to know if I can use the tools with these.&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Wed, 02 Sep 2009 17:01:09 GMT</pubDate><dc:creator>powernicholas</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24496.aspx</link><description>Thanks for all of the help, guys!  Good answers and like Edhy said, welcome. ;)</description><pubDate>Wed, 02 Sep 2009 17:01:09 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24492.aspx</link><description>[quote][b]powernicholas (09/02/2009)[/b][hr]... i'm flying now... this is pretty sweet[/quote]&lt;br&gt;
&lt;br&gt;
Welcome to the club :P and wait until you start using the powerful goodies like the ListView.</description><pubDate>Wed, 02 Sep 2009 16:46:09 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24490.aspx</link><description>yeah...so just as an fyi... i'm flying now... this is pretty sweet</description><pubDate>Wed, 02 Sep 2009 14:49:01 GMT</pubDate><dc:creator>powernicholas</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24481.aspx</link><description>Ah, that would cause some confusion.  :D  Once you get the hang of it, BOs make life a lot simpler.  Don't hesitate to ask questions if you get stuck/confused.</description><pubDate>Wed, 02 Sep 2009 12:13:35 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24480.aspx</link><description>[quote][b]Edhy Rijo (09/02/2009)[/b][hr]Hi Nick,&lt;BR&gt;&lt;BR&gt;Did you try Greg's steps?[/quote]&lt;/P&gt;&lt;P&gt;my apologies as I misread greg's steps&lt;/P&gt;&lt;P&gt;I interpreted 'add a BO' as me doing what i normally would do by adding a business object and all the insert, update, and delete methods&lt;/P&gt;&lt;P&gt;I didn't realize...if you go to ADD to PROJECT...there was a SF Business Object&lt;/P&gt;&lt;P&gt;I will try the steps right now&lt;/P&gt;&lt;P&gt;thanks!</description><pubDate>Wed, 02 Sep 2009 12:10:49 GMT</pubDate><dc:creator>powernicholas</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24479.aspx</link><description>Hi Nick,&lt;br&gt;
&lt;br&gt;
Did you try Greg's steps?</description><pubDate>Wed, 02 Sep 2009 11:19:06 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24476.aspx</link><description>[quote][b]Greg McGuffey (08/31/2009)[/b][hr]SF should work fine with OLEDB connections. Just to be clear what's been done, this is what you should have done:&lt;BR&gt;&lt;BR&gt;1. In VS, added a BO. At this point you just give it a name.&lt;BR&gt;2. Open the BO Mapper, it will search through project(s) and show them in a list. They won't be configured. &lt;BR&gt;3. Click on the project in your solution with the BO, then click on Configure project in panel on right.&lt;BR&gt;4. This opens up a configuration form. You'd select OLE and then enter your connection string. I'd highly recommend that you just use the builder, which will test the connection while building it.&lt;BR&gt;5. Click OK to save those changes. &lt;BR&gt;6. Expand the project and you should see your BO, but it isn't configured.&lt;BR&gt;7. Click on it then click on configure in right panel.&lt;BR&gt;8. Select database, then table/view and click OK.&lt;BR&gt;9. Now there should be a list of columns, pulled from table selected.&lt;BR&gt;10. Right click on BO and select Build Partial. &lt;BR&gt;11. After it is done, close dialog and BO is ready for use....&lt;BR&gt;&lt;BR&gt;Except that you need to setup the runtime connection in AppMain.vb (program.cs if C#). In the SetDataSources method, you'll need to either setup a required data source with the connection manager OR just set the datasource up manually. I'd recommend using the first method until you get a bit farther along. Have you done all of this? If so were is it breaking?[/quote]&lt;/P&gt;&lt;P&gt;Oh..okay so here is my main question.&amp;nbsp; I have been programming in .NET for awhile now, and without any kind of additional framework.&amp;nbsp; I create business object classes all the time.&amp;nbsp; I guess my assumption was, that the business object mapper would show all the tables in a given connection string...and automatically map those to business object I could then interact with.&lt;/P&gt;&lt;P&gt;Is this not the case?&amp;nbsp; Is there a good example somewhere I can look at?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't mean to be a pain, but we've looked at a LOT of frameworks..and quite frankly I really like the seemless integration of StrataFrame the best..but I need to resolve this to justify it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nick</description><pubDate>Wed, 02 Sep 2009 10:51:27 GMT</pubDate><dc:creator>powernicholas</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24422.aspx</link><description>SF should work fine with OLEDB connections. Just to be clear what's been done, this is what you should have done:&lt;br&gt;
&lt;br&gt;
1. In VS, added a BO. At this point you just give it a name.&lt;br&gt;
2. Open the BO Mapper, it will search through project(s) and show them in a list. They won't be configured. &lt;br&gt;
3. Click on the project in your solution with the BO, then click on Configure project in panel on right.&lt;br&gt;
4. This opens up a configuration form. You'd select OLE and then enter your connection string. I'd highly recommend that you just use the builder, which will test the connection while building it.&lt;br&gt;
5. Click OK to save those changes. &lt;br&gt;
6. Expand the project and you should see your BO, but it isn't configured.&lt;br&gt;
7. Click on it then click on configure in right panel.&lt;br&gt;
8. Select database, then table/view and click OK.&lt;br&gt;
9. Now there should be a list of columns, pulled from table selected.&lt;br&gt;
10. Right click on BO and select Build Partial. &lt;br&gt;
11. After it is done, close dialog and BO is ready for use....&lt;br&gt;
&lt;br&gt;
Except that you need to setup the runtime connection in AppMain.vb (program.cs if C#).  In the SetDataSources method, you'll need to either setup a required data source with the connection manager OR just set the datasource up manually. I'd recommend using the first method until you get a bit farther along. Have you done all of this?  If so were is it breaking?</description><pubDate>Mon, 31 Aug 2009 16:47:18 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24414.aspx</link><description>Well see now the problem is I use ole db connections all the time with .net and sql anywhere/sybase&lt;/P&gt;&lt;P&gt;however, when I put my confirmed working connection strings into the object mapper... i don't get anything&lt;/P&gt;&lt;P&gt;We are strongly considering buying this product, but if I can't make it work...we will have to look elsewhere</description><pubDate>Mon, 31 Aug 2009 14:52:05 GMT</pubDate><dc:creator>powernicholas</dc:creator></item><item><title>RE: Can I use an ole db connection to a Sybase database with the Business Object Mapper?</title><link>http://forum.strataframe.net/FindPost24394.aspx</link><description>Hi,&lt;br&gt;
&lt;br&gt;
Not that I've ever used it but, in the mapper, I'm pretty sure there is specific selection for an OLE DB connection plus you can use a connection string at the foot of the form.&lt;br&gt;
&lt;br&gt;
If you are looking for help with connection strings then: http://www.connectionstrings.com/  is a great resource.&lt;br&gt;
&lt;br&gt;
Cheers, Peter</description><pubDate>Sat, 29 Aug 2009 20:06:03 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item></channel></rss>