Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Create DataAccess Class for VistaDB
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00944682
Message ID:
00944751
Vues:
21
Simon,

>I am interested to know the basic outline of what is required to generate a dataAccess class for VistaDB that can be used with MM.Net.

>I am thinking of a base class the would replace mmDataAccessSql with one that uses the VistaDb Net Provider. Is it as simple as change a property of the ADO .Net provider?

There's a bit more to it...you need to subclass the mmDataAccessBase abstract class and create a new concrete DataAccessVistaDB class. You then need to implement the abstract methods with code that is specific to VistaDB. Afterwards, you need to override your ABusinessObject's CreateDataAccessClass() method so it knows to instantiate your new custom data access class.

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