Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Create DataAccess Class for VistaDB
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00944682
Message ID:
00960480
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform