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
Post a Comment