I am trying to understand how to make the generated LINQ to SQL classes marked as private rather than public, so this is not visible outside the assembly. There seems to be no way to do this in the Visual Studio O / R designer or the SqlMetal tool unless I miss something. Is there any way to do this?
I ask because I use LINQ to SQL internally as the data access layer in the business logic assembly. I provide clients with a separate set of custom entity classes, and I do not want LINQ to SQL classes displayed at all.
source share