예제 #1
0
		public static string ConvertToSqlString(SearchQueryOperator op)
		{
			switch (op)
			{
				case SearchQueryOperator.And: return "AND";
				case SearchQueryOperator.Or: return "OR";
				case SearchQueryOperator.AndNot: return "AND NOT";
				default: return "OR NOT";
			}
		}
예제 #2
0
		internal SearchQueryComponent(SearchQueryOperator oper, SearchQueryTerm term)
		{
			this.Operator = oper;
			this.Term = term;
		}