To Viv and Mike
I could but I want everything wrapped in the service, which I somehow have managed , when you add a service reference to your client you can opt to generate classes for your referenced assemblies in your proxy classes and as long as they are declared public and used in your service they are exposed. I found this out the hard way, I had four classes in my DAL ( this is a dummy project while I'm learning ) Employee, Department, Gender and Addresses all declared public but when I added the service reference the proxy only contained definitions for two of them - after some head scratching I noticed the two that were missing were not used in my service ( but I needed them in my client ) so I wrote some stuff referencing them and Voila there they were - I suppose it makes sense, why generate code for nothing ? I hope I get a job soon I haven't worked this hard in years ;-)
Regards,
Peter J. Kane
Pete