Re: [NF] Business class Q

2008-07-21 Thread Paul Hill
On Thu, Jul 17, 2008 at 9:05 PM, MB Software Solutions General Account <[EMAIL PROTECTED]> wrote: > Paul Hill wrote: >> Hi All, >> >> I've been thinking about n-tier design... >> >> I have a business class. This class has properties for all the >> underlying database fields. >> There's a method ca

Re: [NF] Business class Q

2008-07-18 Thread Ken Dibble
>I have a business class. This class has properties for all the >underlying database fields. >There's a method called GetByID() that fetches 1 record based on the >PK for that table. > >Great. I can update the properties and call Save() which sends an >update to the SQL table. > >But suppose I w

Re: [NF] Business class Q

2008-07-18 Thread Stephen Russell
On Thu, Jul 17, 2008 at 2:26 PM, Paul Hill <[EMAIL PROTECTED]> wrote: > Hi All, > > I've been thinking about n-tier design... > > I have a business class. This class has properties for all the > underlying database fields. > There's a method called GetByID() that fetches 1 record based on the > PK

Re: [NF] Business class Q

2008-07-17 Thread MB Software Solutions General Account
Dave Crozier wrote: > Paul, > You simply need to treat the BizObj as a funnel to pass data back into a VFP > Cursor. All the Bizobj will do is allow you to disconnect the UI from the > Dat Access Layer. It doesn't have to be a strictly 1:1 relationship between > the UI and the BizObj however. > >

RE: [NF] Business class Q

2008-07-17 Thread Dave Crozier
ECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Hill Sent: 17 July 2008 20:26 To: ProFox Email List Subject: [NF] Business class Q Hi All, I've been thinking about n-tier design... I have a business class. This class has properties for all the underlying database fields. There's a method

Re: [NF] Business class Q

2008-07-17 Thread MB Software Solutions General Account
Paul Hill wrote: > Hi All, > > I've been thinking about n-tier design... > > I have a business class. This class has properties for all the > underlying database fields. > There's a method called GetByID() that fetches 1 record based on the > PK for that table. > > Great. I can update the prop

[NF] Business class Q

2008-07-17 Thread Paul Hill
Hi All, I've been thinking about n-tier design... I have a business class. This class has properties for all the underlying database fields. There's a method called GetByID() that fetches 1 record based on the PK for that table. Great. I can update the properties and call Save() which sends an