Beispiel #1
0
		/// <summary>
		///     Internal constructor, used by Or/And and Create
		/// </summary>
		/// <param name="queryOperator">Operators</param>
		/// <param name="parent">The parent query, if any</param>
		internal Query(Operators queryOperator = Operators.And, Query parent = null) : base(parent)
		{
			Operator = queryOperator;
		}
		internal PropertyComparison(Property property, Value value = null, Comparisons comparison = Comparisons.EqualTo, Query parent = null) : base(parent)
		{
			Comparison = comparison;
			Property = property;
			Value = value;
		}
Beispiel #3
0
		/// <summary>
		///     Create a query
		/// </summary>
		/// <returns>Query</returns>
		private static Query Create(Operators queryOperator, Query parent = null)
		{
			return new Query(queryOperator, parent);
		}