public static NetFriendlyHierarchyBookShelf ProcessLibraryBookShelf(Librarian.Library.LibraryBookShelf LibraryBookShelf) { var newone = new NetFriendlyHierarchyBookShelf(); newone.Nm = LibraryBookShelf.ShelfName; if (LibraryBookShelf.Parent != null) { newone.PID = Librarian.TransformToBookShelf[LibraryBookShelf.Parent].ID; } newone.ID = LibraryBookShelf.ID; return(newone); }
public void SetParent(NetFriendlyHierarchyBookShelf _Parent) { Parent = _Parent; }