Exemple #1
0
        public bool AddSelect(string selectColumnName)
        {
            if (string.IsNullOrEmpty(selectColumnName))
            {
                return(false);
            }

            if (_selects.Contains(selectColumnName) ||
                !TabularDataSourceInfo.CanIncludeSelect(selectColumnName))
            {
                return(false);
            }

            return(_selects.Add(selectColumnName));
        }