示例#1
0
        public Folder GetFirstParent(bool isexternal)
        {
            FolderCommandBuilder commandBiulder = new FolderCommandBuilder();
            SqlCommand           command        = commandBiulder.GetFirstParent(isexternal);

            return(DBManager.GetObject <Folder>(base.ConnectionHandler, command));
        }
示例#2
0
        public IEnumerable <Folder> GetParents(bool isexternal)
        {
            FolderCommandBuilder commandBiulder = new FolderCommandBuilder();
            var command = commandBiulder.GetParents(isexternal);

            return(DBManager.GetCollection <Folder>(base.ConnectionHandler, command));
        }