How to modify namespace in classes generated with the CTP5 DbContextGenerator template
in my application I have created a EF model from my database. After I created my POCO classes with the CTP5 ADO.NET DbContextGenerator template. By the way I want modify the namespace开发者_如何学Python of the POCO classes generated. I tried to modify the namespace of the model (right click on the model->properties->namespace) and the CustomToolNamespace that I found on right clicking on the model file, but nothing. Another thing is that if I try to right click on any of my entities in my model, the namespace it's how I want. Should necessarily modify by hand in any file generated? Thanks!
Try CustomToolNamespace on .tt files instead
精彩评论