internal override void AddColumn(CrmEntityAttribute attribute)
        {
            Attributes.Add(attribute);

            // add it to the attributes String Builder

            if (attribute.IsDate)
            {
                // DateTime requires a break down of day/month/year
                FetchXmlAttributes.Append(
                    string.Format(
                        "<attribute groupby='true' alias='GroupByDay' name='{0}' dategrouping='day' />",
                        attribute.Name));
                FetchXmlAttributes.Append(
                    string.Format(
                        "<attribute groupby='true' alias='GroupByMonth' name='{0}' dategrouping='month' />",
                        attribute.Name));
                FetchXmlAttributes.Append(
                    string.Format(
                        "<attribute groupby='true' alias='GroupByYear' name='{0}' dategrouping='year' />",
                        attribute.Name));
            }
            else
            {
                FetchXmlAttributes.Append(
                    string.Format(
                        "<attribute groupby='true' alias='GroupBy{0}' name='{0}' />",
                        attribute.Name));
            }
            FetchXmlFilters.Append(
                string.Format(
                    "<condition attribute='{0}' operator='not-null' />",
                    attribute.Name));
        }
        internal override void AddColumn(CrmEntityAttribute attribute)
        {
            Attributes.Add(attribute);

            // add it to the attributes String Builder
            FetchXmlAttributes.Append(
                string.Format(
                    "<attribute name='{0}' />",
                    attribute.Name));
        }
 internal abstract void AddColumn(CrmEntityAttribute attribute);