开发者

How to modify namespace in classes generated with the CTP5 DbContextGenerator template

开发者 https://www.devze.com 2023-02-13 23:39 出处:网络
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开发者_如何学Pyth

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

0

精彩评论

暂无评论...
验证码 换一张
取 消