D
DKode
Ok,
My staff has determined that we will be using custom business objects
for a new app we are creating. we have an object that is called
Employee.
The employee object has about 8 lookup tables with a FK in the
employee table and two other tables that will be custom objects
themselves.
My question is, what is the best way to handle these lookup tables
data in my Employee class? when i create stored procs for getting an
employee should i just use joins and then make public propertys so a
user can change the lookup table fk's and just setup another property
for the lookup table text value? or is there a better way to handle
something like this.
Example:
Employee table
employeeID
stateID
sexID
State table
stateID
State
Sex table
sexID
Sex
i just want to make sure everything is optimized and setup correctly
so we don't run into scalability problems once our app is deployed and
requires structure changes.
any help would be appreciated. thank you.
My staff has determined that we will be using custom business objects
for a new app we are creating. we have an object that is called
Employee.
The employee object has about 8 lookup tables with a FK in the
employee table and two other tables that will be custom objects
themselves.
My question is, what is the best way to handle these lookup tables
data in my Employee class? when i create stored procs for getting an
employee should i just use joins and then make public propertys so a
user can change the lookup table fk's and just setup another property
for the lookup table text value? or is there a better way to handle
something like this.
Example:
Employee table
employeeID
stateID
sexID
State table
stateID
State
Sex table
sexID
Sex
i just want to make sure everything is optimized and setup correctly
so we don't run into scalability problems once our app is deployed and
requires structure changes.
any help would be appreciated. thank you.