Ejemplo n.º 1
0
        internal SLXmlColumnProperties Clone()
        {
            var xcp = new SLXmlColumnProperties();

            xcp.MapId        = MapId;
            xcp.XPath        = XPath;
            xcp.Denormalized = Denormalized;
            xcp.XmlDataType  = XmlDataType;

            return(xcp);
        }
        private void SetAllNull()
        {
            CalculatedColumnFormula = new SLCalculatedColumnFormula();
            HasCalculatedColumnFormula = false;
            TotalsRowFormula = new SLTotalsRowFormula();
            HasTotalsRowFormula = false;
            XmlColumnProperties = new SLXmlColumnProperties();
            HasXmlColumnProperties = false;

            Id = 0;
            UniqueName = null;
            Name = string.Empty;
            TotalsRowFunction = TotalsRowFunctionValues.None;
            HasTotalsRowFunction = false;
            TotalsRowLabel = null;
            QueryTableFieldId = null;
            HeaderRowDifferentialFormattingId = null;
            DataFormatId = null;
            TotalsRowDifferentialFormattingId = null;
            HeaderRowCellStyle = null;
            DataCellStyle = null;
            TotalsRowCellStyle = null;
        }