/// <summary> /// Creates a new search expression for /// the words in the expression argument /// with the specific behavior indicated by the mode /// argument. /// </summary> /// <param name="expression">words to search for</param> /// <param name="mode">search mode</param> public FullTextSearchExpression(string expression, FullTextSearchMode mode) { _expression = expression; _mode = mode; }
/// <summary> /// Creates a new search expression that will /// return all the records that include any of /// the words (<see cref="FullTextSearchMode.IncludeAny"/>) /// in the expression passed as argument. /// </summary> /// <param name="expression">words to search for</param> public FullTextSearchExpression(string expression) { _expression = expression; _mode = FullTextSearchMode.IncludeAny; }