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