Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change name space of LINQ to SQL generated classes

Is there anyway I can change the namespace of the classes generated by LINQ to SQL

right now it goes ProjectName.FolderName

Is there anyways I can change this default convention

like image 537
soldieraman Avatar asked Jan 07 '10 04:01

soldieraman


1 Answers

Open the designer and click on the background, there are two properties called Entity Namespace and Context Namespace, you can use those to set the namespace for the generated classes.

like image 123
Rory Avatar answered Nov 20 '22 16:11

Rory