public SetOfPolymorphic(Business.SetOfPolymorphic source) { Id = source.Id; if (source.PolymorphicBaseClasses != null) { PolymorphicBaseClasses = source.PolymorphicBaseClasses.Select(x => PolymorphicBaseClass.GetMostConcrete(x)).ToArray(); } }
public MappedObjectGeneric(Business.MappedObjectGeneric <Business.PolymorphicBaseClass> source) { Id = source.Id; AString = source.AString; GenericProperty = (T)(object)PolymorphicBaseClass.GetMostConcrete(source.GenericProperty); }