I\'m working on a small coding project that is going to be sold to other companies. I needed to create some documentation for it, so I decided to use S
If the generated classes should not be visible to your users, you could check if the generation tool has an option to generate the classes as internal rather than public.
If your generated code is a web service reference, you have an option to specify this when you create the reference (in the "Add Service Reference" dialog, Advanced -> Access level for generated classes).
Otherwise, you could try to find a way to change automatically the access level of the types in the generated code from public to internal.