0

Is it possible to add a namespace to all the partial classes that sqlmetal.exe generates? I could do this manually but would like it automate it.

John
  • 487
  • 8
  • 16

1 Answers1

2

use the /namespace flag when running sqlmetal, MSDN

ex:

sqlmetal /namespace:nwind /code:nwind.cs /language:csharp mymetal.dbml
Andrew Barber
  • 39,603
  • 20
  • 94
  • 123
Abdul Hfuda
  • 1,463
  • 12
  • 25