Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 新增条件项
 /// </summary>
 public void Add(ComponentValueOfWhere where)
 {
     Wheres.Add(where);
 }