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:
00960480
Vues:
17
Simon,

Did you create a class for accessing vistaDB? I am looking into vistaDB as a SQL Server alternative for some of our smaller clients and would like to know how it is working for you. Any comments or suggestions are appreciated.

Kind Regards,

Mat

>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,
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform