Re: Instance vs Static + Option
Nick Robinson <[email protected]> Sat, 17 May 2008 11:57:33 -0800
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
Right, that sounds like a lot of important behaviour, so back to the = original question about Helper, that role feels like you lose an important = class. > -----Original Message----- > From: brady=40chasesoftware.co.za > Sent: Sat, 17 May 2008 15:42:43 +0200 > To: dotnet-clr=40discuss.develop.com > Subject: Re: =5BDOTNET-CLR=5D Instance vs Static + Option >=20 >> You mean something like ConfigProvider? Does this class provide CRUD >> style behaviour onto a =22config table=22, or does it do something very >> specific with a config table? I dont know whether Provider is the right >> term, but the fact it makes the class feel more dedicated is good. Of >> course, it could still be a helper, and thats ok. >>=20 >> Nick. >=20 > It provides an application layer maybe one up from CRUD, where it > performs > sets of CRUD operations on a config table, and other operations, as > required > for certain tasks. E.g. If I call SetAccountingPackage, it may set > fields > in the config table to select that accounting package, create an export > directory for that accounting package, and set another field in the table > to > point to that directory. >=20 > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > This list is hosted by DevelopMentor. http://www.develop.com >=20 > View archives and manage your subscription(s) at > http://discuss.develop.com =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This list is hosted by DevelopMentor=AE http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com