where to use the services class?

Topics: Developer Forum
Mar 30, 2010 at 12:11 PM

hi, i download version 64650, and i am not clear where should i use the services class such as customerservices, because the presentation layer use idatacontext class directly via dto class, why not the dto use services class? need help, thank you!

Coordinator
Mar 31, 2010 at 8:53 AM

hi "six", you're perfectly right in your assumption that the PL should use the services instead of directly hitting the DAL. Please have a look at the later codebases: I recommend you to download the change set 65141 which is even more compact and easy to get into