Example #1
0
		/// <summary>
		/// Copy constructor.
		/// </summary>
		/// <param name="other"></param>
		protected SearchConditionBase(SearchConditionBase other)
			: base(other)
		{
			// copy the values
			_values = (new List<object>(other._values)).ToArray();
			_test = other._test;
			_sortPosition = other._sortPosition;
			_sortDirection = other._sortDirection;
		}
Example #2
0
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="other"></param>
 protected SearchConditionBase(SearchConditionBase other)
     : base(other)
 {
     // copy the values
     _values        = (new List <object>(other._values)).ToArray();
     _test          = other._test;
     _sortPosition  = other._sortPosition;
     _sortDirection = other._sortDirection;
 }