private IEnumerable <T> GetEnumerableValues <T>(ComponentValueOfWhere where)
        {
            var values = where.Value as IEnumerable <T>;

            if (values == null)
            {
                throw new NotImplementedException("参数需为IEnumerable<" + typeof(T) + ">规格");
            }
            return(values);
        }
Esempio n. 2
0
 /// <summary>
 /// 新增条件项
 /// </summary>
 public void Add(ComponentValueOfWhere where)
 {
     Wheres.Add(where);
 }