/// <summary>
        /// 添加子节点
        /// </summary>
        /// <param name="module"></param>
        public void CreateAsSub(FileFolder parent)
        {
            this.ParentId = parent.Id;
            this.Path     = String.Format("{0}{1}", (parent.Path == null ? String.Empty : parent.Path + "."), parent.Id);

            this.DoCreate();
        }
        /// <summary>
        /// 添加兄弟节点
        /// </summary>
        /// <param name="module"></param>
        public void CreateAsSib(FileFolder sib)
        {
            this.ParentId = sib.ParentId;
            this.Path     = sib.Path;

            this.DoCreate();
        }
        /// <summary>
        /// 由键获取文件夹
        /// </summary>
        /// <param name="folderKey"></param>
        /// <returns></returns>
        public static FileFolder GetFolderByKey(string folderKey)
        {
            FileFolder folder = FileFolder.FindFirstByProperties("FolderKey", folderKey);

            return(folder);
        }
        /// <summary>
        /// 添加子模块
        /// </summary>
        /// <param name="module"></param>
        public void CreateAsSub(string parentID)
        {
            FileFolder parent = FileFolder.Find(parentID);

            CreateAsSub(parent);
        }
        /// <summary>
        /// 添加兄弟节点
        /// </summary>
        /// <param name="module"></param>
        public void CreateAsSib(string sibID)
        {
            FileFolder sib = FileFolder.Find(sibID);

            CreateAsSib(sib);
        }