Exemple #1
0
        /// <summary>
        /// Add reference.
        /// </summary>
        /// <param name="reference">The reference of APRptColumn.</param>
        public virtual void AddReference(APRptColumnCollection reference)
        {
            _references.Add(reference);

            foreach (APRptColumn ex in reference)
            {
                _allColumns.Add(ex);
            }
        }
Exemple #2
0
        private APRptColumnCollection GetAvaliableColumns()
        {
            APRptColumnCollection avaliable = new APRptColumnCollection();

            foreach (APRptReferDef def in _def.Refers)
            {
                avaliable.Add(_source.AllColumns[def.ColumnId]);
            }

            return(avaliable);
        }