예제 #1
0
        private static string[] InternalGetWhereOperatorsAbr(WhereOperator op)
        {
            var result = new List <string> {
                string.Empty
            };

            foreach (WhereOperator en in Enum.GetValues(typeof(WhereOperator)))
            {
                if (en == WhereOperator.ForText || en == WhereOperator.ForDate || en == WhereOperator.ForNumber)
                {
                    continue;
                }

                if (op.HasFlag(en))
                {
                    result.Add(InternalGetWhereOperatorAbr(en));
                }
            }

            return(result.ToArray());
        }