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' -

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -