Records should consider as partial

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 年 前
As the c#9 has introduced a new type i.e record and which has also the same feature "partial" like class.  Should not be good to declare the viewmodel's(Nop.Web.Models) records as partial. So that source code customization keeps organized.

NOTE: If the same topics exist earlier please ignore this post.
2 年 前
Do you mean any specific models or in general? Most of them are already marked as partial, the other are most likely just missed.
2 年 前
RomanovM wrote:
Do you mean any specific models or in general? Most of them are already marked as partial, the other are most likely just missed.


Actually specific.
https://github.com/nopSolutions/nopCommerce/blob/develop/src/Presentation/Nop.Web/Models/Catalog/CategorySimpleModel.cs
2 年 前
Thanks for the suggestion. Here is a work item for this.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.