Click here to Skip to main content
15,923,689 members
Home / Discussions / C#
   

C#

 
AnswerRe: Picture box Pin
Guffa18-Nov-08 23:58
Guffa18-Nov-08 23:58 
GeneralRe: Picture box Pin
B8719-Nov-08 0:05
B8719-Nov-08 0:05 
GeneralRe: Picture box Pin
Guffa19-Nov-08 1:08
Guffa19-Nov-08 1:08 
GeneralRe: Picture box Pin
J4amieC19-Nov-08 1:27
J4amieC19-Nov-08 1:27 
GeneralRe: Picture box Pin
V.19-Nov-08 2:39
professionalV.19-Nov-08 2:39 
GeneralRe: Picture box Pin
J4amieC19-Nov-08 2:59
J4amieC19-Nov-08 2:59 
Questiondesign problem with static classes Pin
NikoTanghe18-Nov-08 23:26
NikoTanghe18-Nov-08 23:26 
AnswerRe: design problem with static classes Pin
Simon P Stevens19-Nov-08 0:44
Simon P Stevens19-Nov-08 0:44 
No, unfortunately, static classes must derive from Object and nothing else, and neither interfaces or abstract classes can be static anyway.

It's hard to comment on your design without seeing the whole thing, but I would suggest that yes, to have static classes representing business entities is a bit of a strange design.

Again, it's hard to suggest alternatives without seeing everything you are trying to do, but a pretty standard way is to have a bunch of business objects that define your business entities, these can then be created 1 for each entity and store all the values, and can possibly inherit from a base entity object.

Simon

QuestionConnection To DataBase Pin
Thaer Hamael18-Nov-08 23:13
Thaer Hamael18-Nov-08 23:13 
AnswerRe: Connection To DataBase Pin
Pedram Behroozi18-Nov-08 23:17
Pedram Behroozi18-Nov-08 23:17 
GeneralRe: Connection To DataBase Pin
Thaer Hamael18-Nov-08 23:43
Thaer Hamael18-Nov-08 23:43 
GeneralRe: Connection To DataBase Pin
Pedram Behroozi19-Nov-08 0:45
Pedram Behroozi19-Nov-08 0:45 
GeneralRe: Connection To DataBase Pin
Not Active19-Nov-08 1:21
mentorNot Active19-Nov-08 1:21 
AnswerRe: Connection To DataBase Pin
Vimalsoft(Pty) Ltd19-Nov-08 1:49
professionalVimalsoft(Pty) Ltd19-Nov-08 1:49 
GeneralRe: Connection To DataBase Pin
Giorgi Dalakishvili19-Nov-08 2:33
mentorGiorgi Dalakishvili19-Nov-08 2:33 
GeneralRe: Connection To DataBase Pin
Vimalsoft(Pty) Ltd19-Nov-08 8:53
professionalVimalsoft(Pty) Ltd19-Nov-08 8:53 
AnswerRe: Connection To DataBase Pin
Nouman Bhatti19-Nov-08 2:09
Nouman Bhatti19-Nov-08 2:09 
Questionmissing an assembly reference Pin
B8718-Nov-08 22:16
B8718-Nov-08 22:16 
AnswerRe: missing an assembly reference Pin
Pedram Behroozi18-Nov-08 22:20
Pedram Behroozi18-Nov-08 22:20 
GeneralRe: missing an assembly reference Pin
B8718-Nov-08 22:26
B8718-Nov-08 22:26 
AnswerRe: missing an assembly reference Pin
dan!sh 18-Nov-08 22:23
professional dan!sh 18-Nov-08 22:23 
GeneralRe: missing an assembly reference Pin
B8718-Nov-08 22:27
B8718-Nov-08 22:27 
QuestionProblem with Visual C# Pin
maresp198218-Nov-08 22:04
maresp198218-Nov-08 22:04 
AnswerRe: Problem with Visual C# Pin
PIEBALDconsult19-Nov-08 3:24
mvePIEBALDconsult19-Nov-08 3:24 
AnswerRe: Problem with Visual C# Pin
maresp198214-Dec-08 21:40
maresp198214-Dec-08 21:40 

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.