Hi everybody,
I have a model class with one extra not-mapped property. I want to return back my result with this property populated.
Here is one way I know of to make it happen:
searchViewModel.Result.List = searchViewModel.Result.List.
Select(x=> new AdjustmentList {... }
)
In the select I would need to list every column.
I am wondering what is the easier syntax? Should I go with foreach instead?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog