Where to add the partial class in the asp.net mvc5? In which folder? -


i tried add partial class in model folder of asp.net mvc folder structure. have added class using entity framework. want create partial class in model folder, how create?

assuming have file person.cs person class in model folder, can add person.custom.cs file.

person.cs

namespace app.model {     public partial class person     {         // class content     } } 

person.custom.cs

namespace app.model {     public partial class person     {         // content     } } 

Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -