tmesser
tmesser

Reputation: 7656

Refactor LINQ-to-SQL class in new namespace

I have a LINQ-to-SQL Generator class in a project I'm working on, and to conform to naming conventions, the default namespace has to be a little different than the name of the project itself.

Essentially, it has to be GroupName.ProjectName, instead of just ProjectName.

I can manually rename stuff and that's fine, except for the LINQ-to-SQL class we have in the project.

Renaming the namespace manually just causes the change to be wiped out next time the tool is regenerated. Any help on getting this refactored properly?

Upvotes: 1

Views: 136

Answers (1)

tmesser
tmesser

Reputation: 7656

Nevermind. I am an idiot and thought this would be handled at the solution level and not the project level. For what it's worth, right click on your project file, click properties, and edit the "default namespace" field.

Upvotes: 3

Related Questions