G
Guest
hey all,
i have a simple logical n-tier solution and was wondering what the best
practice for something is.
i have a customer object in my business layer with shared data access
methods. in the retrieveACustomer routine, is it ok for me to instantiate my
customer object here and return it to the ui layer
public function retrieveCustomer as customer
dim ocust as new customer
.....
return ocust
end sub
what are some other ways to handle?
thanks,
rodchar
i have a simple logical n-tier solution and was wondering what the best
practice for something is.
i have a customer object in my business layer with shared data access
methods. in the retrieveACustomer routine, is it ok for me to instantiate my
customer object here and return it to the ui layer
public function retrieveCustomer as customer
dim ocust as new customer
.....
return ocust
end sub
what are some other ways to handle?
thanks,
rodchar