Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: .NET framework version questions... Pin
Nick Parker25-Jan-05 17:27
protectorNick Parker25-Jan-05 17:27 
GeneralRe: .NET framework version questions... Pin
new_phoenix27-Jan-05 5:25
new_phoenix27-Jan-05 5:25 
QuestionCan no longer view Help(CHM) through windows application Pin
Mike Balfour25-Jan-05 13:29
Mike Balfour25-Jan-05 13:29 
GeneralProcedure Parameter Pointer Pin
Budi Zhu25-Jan-05 11:24
Budi Zhu25-Jan-05 11:24 
GeneralRe: Procedure Parameter Pointer Pin
Dennis C. Dietrich25-Jan-05 12:13
Dennis C. Dietrich25-Jan-05 12:13 
GeneralA Design question [offtopic?] Pin
moredip25-Jan-05 11:03
moredip25-Jan-05 11:03 
GeneralRe: A Design question [offtopic?] Pin
Skynyrd25-Jan-05 12:01
Skynyrd25-Jan-05 12:01 
GeneralRe: A Design question [offtopic?] Pin
moredip25-Jan-05 12:19
moredip25-Jan-05 12:19 
Hi Skynyrd,

Thanks for the response.

To clarify, the DBManager would just be responsible for wrapping the Member table in the DB, or wrapping all the tables?

I'm also not sure how the coupling would work with the three classes you mention. The way I see it, Member should be hiding/abstracting over some of the internal properties of a Member. For example, LastOnline shouldn't be settable, it should just be updatable to DateTime.Now. That being the case, both DBManager and the utility class would need access to the internals of Member, and I'm not sure how best to accomplish that. That was why I thought of having a low-level wrapper (which would expose those internals), and then a higher-level wrapper, which would be, as you say, a Member 'object'. But with that design, I'm not sure if it's feasible to have a seperate utility class. The utility class would need access to the internals, but the client of the utility class presumably wouldn't be able to access them. If this were C++, I'd consider making the utility class a friend of the lower-level wrapper, but AFAIK that isn't possible in C#.

I hope you don't think I'm being argumentative about this, I'm honestly just trying to figure the best way to design this sucker. I do appreciate your input!

And yes, as you say, all of this probably /is/ overkill for the app, but like you I like to try and keep my design as clean as possible (within reason!).

Cheers,

Pete
GeneralRe: A Design question [offtopic?] Pin
Skynyrd25-Jan-05 12:47
Skynyrd25-Jan-05 12:47 
GeneralRe: A Design question [offtopic?] Pin
moredip25-Jan-05 13:45
moredip25-Jan-05 13:45 
GeneralRe: A Design question [offtopic?] Pin
Anonymous25-Jan-05 21:56
Anonymous25-Jan-05 21:56 
GeneralCOM Port in Visual C# 2005 Pin
Juan Pablo G.C.25-Jan-05 9:08
Juan Pablo G.C.25-Jan-05 9:08 
GeneralRe: COM Port in Visual C# 2005 Pin
Stefan Troschuetz25-Jan-05 21:41
Stefan Troschuetz25-Jan-05 21:41 
GeneralCOM Port in Visual C# 2005 Pin
Juan Pablo G.C.25-Jan-05 9:06
Juan Pablo G.C.25-Jan-05 9:06 
GeneralRe: COM Port in Visual C# 2005 Pin
warnerja26-Jan-05 12:09
warnerja26-Jan-05 12:09 
GeneralHierachy on windows without MDI Pin
jpgarcia25-Jan-05 8:57
jpgarcia25-Jan-05 8:57 
Generalevent handling Pin
rchokler25-Jan-05 7:18
rchokler25-Jan-05 7:18 
GeneralRe: event handling Pin
Stefan Troschuetz25-Jan-05 21:25
Stefan Troschuetz25-Jan-05 21:25 
GeneralSpeed Hack Pin
Budi Zhu25-Jan-05 6:30
Budi Zhu25-Jan-05 6:30 
GeneralRe: Speed Hack Pin
Alex Korchemniy25-Jan-05 6:39
Alex Korchemniy25-Jan-05 6:39 
GeneralRe: Speed Hack Pin
Budi Zhu25-Jan-05 7:22
Budi Zhu25-Jan-05 7:22 
GeneralRe: Speed Hack Pin
Dave Kreskowiak25-Jan-05 8:26
mveDave Kreskowiak25-Jan-05 8:26 
GeneralRe: Speed Hack Pin
Budi Zhu25-Jan-05 11:27
Budi Zhu25-Jan-05 11:27 
GeneralRe: Speed Hack Pin
Dave Kreskowiak25-Jan-05 14:43
mveDave Kreskowiak25-Jan-05 14:43 
GeneralRe: Speed Hack Pin
Robert Rohde25-Jan-05 19:12
Robert Rohde25-Jan-05 19:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.