示例#1
0
文件: Where.cs 项目: Mrding/Ribbon
		public Where Clone()
		{
			Where result = new Where(negatingAll);
			result.expressions = null;
			result.expressions = new List<IQueryPart>(expressions);
			return result;
		}
示例#2
0
文件: From.cs 项目: Mrding/Ribbon
		public Where WhereNot()
		{
			if (where != null)
				throw new NotSupportedException(string.Format("Can't override the 'where' clause; original 'where':{0}", where.Clause));
			where = new Where(true);
			return where;
		}
示例#3
0
 public Where Where()
 {
     if (where == null)
         where = new Where();
     return where;
 }
示例#4
0
 public void SetWhere(Where whereClause)
 {
     if (whereClause == null)
         throw new ArgumentNullException("whereClause");
     where = whereClause;
 }