I have a list of key value pairs and the value is a model with a property of type AvAsset.
Screen Shot 2021-01-21 at 11.25.47 PM
If I add the items in this list to another list, all of the model properties are copied except the AvAsset property. As shown below, the value is now null (the other properties are omitted from the screenshot. Also only the values were added to this list hence the key and value are not shown as in the above screenshot
Screen Shot 2021-01-21 at 11.26.27 PM
videos.Add(videoListItems.Select(a => a.Value).Where(b => b.VideoName == item.Value.VideoName).First());
The first screenshot is from inspecting 'videoListIems' and the second is from inspecting 'videos'
My question is why does this happen? and is there a way to add items from one list to another and retain the avasset property?