Naming Conventions For Partial Class Files

前端 未结 2 675
暗喜
暗喜 2020-12-02 07:50

I\'m generating the bulk of my ASP.NET MVC scaffolding code. All generated files are partial classes which use standard naming conventions. For example, my employee controll

2条回答
  •  死守一世寂寞
    2020-12-02 07:54

    To add to Marc Gravell♦'s answer, I had a situation with files in a subfolder and the DependentUpon node being ignored. The short of it is that in such a case it my xml had to be:

    
    
        bar.cs  
    
    

    I hope this helps someone :)

提交回复
热议问题