stnkyminky
Programmer
I've normalized the database as far as I feel comfortable doing. This application is tracking sales leads.
I've got a table called Leads which stores information about the lead themself.
Then I've got a table called Company. This is where I store the lead's company information.
I've already got a lead object created. My question is this, Should I create a company object, which could be used in other parts of the app, or just store the company info in my lead object? I do have a CRUD screen for the companies.
If my assumption is correct and I do need a company object....how often, within reason, should my classes reflect my database?
Scott
Programmer Analyst
<{{><
I've got a table called Leads which stores information about the lead themself.
Then I've got a table called Company. This is where I store the lead's company information.
I've already got a lead object created. My question is this, Should I create a company object, which could be used in other parts of the app, or just store the company info in my lead object? I do have a CRUD screen for the companies.
If my assumption is correct and I do need a company object....how often, within reason, should my classes reflect my database?
Scott
Programmer Analyst
<{{><