Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MM.Net Business Layer Generator
Message
 
To
12/12/2005 22:59:15
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01077331
Message ID:
01077709
Views:
48
David,

>
><databases>
>    <add key="Northwind\Connection" value="Provider=VFPOLEDB.1;Data Source=C:\VFPData\northwind.dbc;Collating  Sequence=MACHINE" />
></databases>
When you are accessing non-SQL databases (such as VFP) you need a second line in your databases config section that specifies the data access class to use:
<add key="Northwind\Connection" value="Provider=VFPOLEDB.1;Data Source=C:\VFPData\northwind.dbc;Collating  Sequence=MACHINE" />
<add key="Northwind\DataAccessClass" value="DataAccessOleDb" />
Check out the MM .NET Dev Guide topic "Specifying Data Access Classes in the Config File" 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
Next
Reply
Map
View

Click here to load this message in the networking platform