I have big
asp.net web-forms project, I'm using
Linq2SQL, I have 1 model per table (same properties as generated classes by Linq2SQL, I add this models to have more controls of fields).
For some tables I need multiple ViewModels, for example for Product table I have following models:
ProductWebApiViewModelI use this one in
- I have 3 more ViewModels that related to
I think having this kind of models are silly and I'm looking for some better solution, is there better way (I'm sure the answer is yes) for handling
ViewModels in large projects?
Thanks in advance.