Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Good idea to use CA as DataLayer/Business Object Class?
Message
 
 
To
07/01/2008 13:51:41
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:
01280006
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.
>>
>
>I've been working on a framework with a data layer using both CA and DE subclasses, and a separate BO class based on custom.
>
>I started out by subclassing the CA and DE classes that Doug Hennig published in FoxTalk.
>
>Tamar

PMFJI, I am also working on a framework and can't seem to decide what to put into the BO class. Can you (if you don't mind) share some brief ideas of what to put into BO class?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform