n-tier

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top