public override void AcceptModelProperties(AttachmentModelBase other) { base.AcceptModelProperties(other); var otherAlbum = (TAlbum)other; AlbumCollectionDescriptors.Clear(); ChildAttachmentDescriptors.Clear(); AlbumCollectionDescriptors.AddRange(otherAlbum.AlbumCollectionDescriptors); ChildAttachmentDescriptors.AddRange(otherAlbum.ChildAttachmentDescriptors); }
public override void PrepareNavigationProps() { ChildAttachmentDescriptors.ForEach(desc => desc.NavigationParent = null); AlbumCollectionDescriptors.ForEach(desc => desc.NavigationParent = null); }