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:
00944818
Vues:
16
Hi Kevin

I just needed to be sure on what was the correct approach. So now
it is time to look into the source code and see what needs to be done.

Thanks
Simon


>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,
Simon White
dCipher Computing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform