Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From OleDb to ODBC
Message
 
To
30/08/2005 05:43:20
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01045065
Message ID:
01045363
Views:
23
Mark,

>When I need a web server that supports ASP.Net on a WIndows XP Home edition machine,I use XSP, a light weight server that comes with 'mono for Windows'(http://www.mono-project.com/ASP.NET)
>
>In my MM.Net applications, I use the data access class for OleDb (for access to a Sybase DB).
>XSP however, can not yet make use of Ole DB in windows (it does in Linux) so I have to use ODBC. The default default data access classes provided by MM .NET are SQL Server, Oracle, and OLE DB but there is none for ODBC.
>
>What would be the easiest way to change from OleDb to ODBC in MM.Net?

You're right...we don't have a concrete data access class implementation for ODBC, so you would need to subclass our mmDataAccessBase class and implement the concrete class yourself. Fortunately, no one else has had to do this yet <s> but it may take a bit of work. That said, we have new properties on our data access class such as ConcatChar, ParameterPrefixChar, and TableNameDelimitBegin/TableNameDelimitEnd that make the job much easier (check out the MM .NET Dev Guide topic "Generic Data Access" for details).

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform