Inheritance: CHAOS.Portal.Client.Data.AData
コード例 #1
0
		private static void UpdateFolder(Folder oldFolder, Folder newFolder)
		{
			oldFolder.ParentID				= newFolder.ParentID;
			oldFolder.FolderTypeID			= newFolder.FolderTypeID;
			oldFolder.SubscriptionGUID		= newFolder.SubscriptionGUID;
			oldFolder.Name					= newFolder.Name;
			oldFolder.NumberOfSubFolders	= newFolder.NumberOfSubFolders;
			oldFolder.NumberOfObjects		= newFolder.NumberOfObjects;
			oldFolder.DateCreated			= newFolder.DateCreated;
		}
コード例 #2
0
		public ObservableCollection<Folder> GetFolders(Folder parentFolder)
		{
			return GetFolders(parentFolder.DoIfIsNotNull(f => f.ID));
		}