R
RSH
I am really trying to grasp the concept of OOP as it applies to C#.
I am looking at trying to set up a simple Employee Class but I am having
trouble conceptualizing what this class should look like. I was hoping
someone might be able to simply outline what I envision my class to look
like:
Basically I am envisioning a Class called Employee:
I imagine it would have many properties(?) such as:
EmployeeID
LastName
FirstName
Address
City
State
ZipCode
etc.
I imagine I would have AddNew(), Update(), Delete() methods.
Is this a good place to utilize a class? If so what would the basic
infrastructure look like for the class?
I have been through several tutorials but they are very basic and use things
like Dogs and firehydrants as object examples which don't translate well
into business object uses.
Sorry for the basic question.
I greatly appreciate any responses.
RSH
I am looking at trying to set up a simple Employee Class but I am having
trouble conceptualizing what this class should look like. I was hoping
someone might be able to simply outline what I envision my class to look
like:
Basically I am envisioning a Class called Employee:
I imagine it would have many properties(?) such as:
EmployeeID
LastName
FirstName
Address
City
State
ZipCode
etc.
I imagine I would have AddNew(), Update(), Delete() methods.
Is this a good place to utilize a class? If so what would the basic
infrastructure look like for the class?
I have been through several tutorials but they are very basic and use things
like Dogs and firehydrants as object examples which don't translate well
into business object uses.
Sorry for the basic question.
I greatly appreciate any responses.
RSH