Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Good idea to use CA as DataLayer/Business Object Class?
Message
From
06/01/2008 03:02:45
 
 
To
06/01/2008 00:42:13
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Miscellaneous
Thread ID:
01279707
Message ID:
01279712
Views:
18
>Hi All,
>
>Pardon me if this is a stupid question, but:
>
>"Is it a good idea to subclass the CURSORADAPTER class and add properties, method to make it a DataLayer and/or Business Object class?"
>
>I have a business class based on the Custom baseclass, which only deals with VFP tables. Since I have been using the CursorAdapter for access to ODBC, and since it can also deal with Native tables, I was thinking of 'transforming' it into a 'business object' and/or 'data layer' all-in-one.
>
>Thanks for your insights and comments.
>
>Dennis

Yes :-)
If you use CAs you are not stick only with NATIVE tables, but you could use any datasource you want.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform