Hello -
I faced the same problem and I think the right solution is to add not(!) before innerList.HasProperty.. because it doesn't make sense to check if item found then add it again also this is what is used in DeepLoad method
else if ( deepSaveType == DeepSaveType.IncludeChildren )
{
if ( innerList.Contains(key) && !innerList.HasProperty(entity, key, property) )
{
innerList.AddProperty(entity, key, property);
return true;
}
}
I wanted to view my solution and want to ask if this will affect any other thing in the project or not and what may be affected.
Please advice
Regards,
Hossam El-Deen
Microsoft Certified Technology Specialist(Windows, Web)
http://HossamElDeen.blogspot.com