D
dkode
Guest
I am creating a UML layout of one of my DALC, and i have a quick question
This DALC can accept many different parameters:
No parameters : all db rows
sbuid : specific sbuid
revid : specific revid
revtypeid : specific revtypeid
month : specific month
year : specific year
goalamount : greater than / less than
I originally started making a seperate method for each parameter but then i noticed that all of these paramters can be used in conjunction. IE: they want the revenue goals that are a specific SbuID and specific RevType for a specific year.
If you know what i mean, there can be alot of different combonations
Is there a way to fit all of this into one method? if so how can i do so?
This DALC can accept many different parameters:
No parameters : all db rows
sbuid : specific sbuid
revid : specific revid
revtypeid : specific revtypeid
month : specific month
year : specific year
goalamount : greater than / less than
I originally started making a seperate method for each parameter but then i noticed that all of these paramters can be used in conjunction. IE: they want the revenue goals that are a specific SbuID and specific RevType for a specific year.
If you know what i mean, there can be alot of different combonations
Is there a way to fit all of this into one method? if so how can i do so?