Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MM.Net Business Layer Generator
Message
 
À
12/12/2005 22:59:15
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01077331
Message ID:
01077709
Vues:
49
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform