Class, Abstract or Interface ?

design , csharp İstanbul, Turkey
  • 12 years ago
    Hi there, I am creating new db and app. I have persons in different types. 4 ex: Patient, Doctor, Nurse and each of them has different and same fields as you know. Thats why i want to create PERSON class/interface/abstract (thats the problem) for same fields. I want to generate DB queries also in this struct. If i create PERSON as abstract class, i think i can update, insert statements shared fields with function in this class don't i? (or should i?) What kind of a design will be usefull for me? Or do you have some sample like that?
  • 12 years ago
    i can explain it online, **http://www.expvice.com/contactus.aspx**

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debuggers don't remove bugs. They only show them in slow motion.”