Ejemplo n.º 1
0
        /// <summary>
        /// Получение плоского списка абзацев
        /// </summary>
        /// <param name="resulttype">тип возвращаемого результата</param>
        /// <param name="list_ids">Список ID документов</param>
        /// <returns>ComplexValue</returns>
        public override ComplexValue ReadParagraphsInDocsList(tpList resulttype, List <string> list_ids = null)
        {
            ComplexValue rval = new ComplexValue();

            if (resulttype == tpList.tplDBtable)
            {
                rval.dtable = dbConnector.ReadParagraphsInDocs(list_ids);
            }
            else
            {
                rval.list.AddRange(dbConnector.ReadParagraphsInDocsList(list_ids));
            }
            return(rval);
        }