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:
00944751
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform