/// <summary> /// 操作符匹配(自动忽略空或空文本)。 /// </summary> /// <param name="operator">逻辑操作符。</param> /// <param name="field">列,例:aa</param> /// <param name="value">文本内容</param> /// <param name="matchOperator">匹配操作符</param> /// <returns></returns> public virtual IWhereExpression Match(WhereOperators @operator, string field, string value, MatchOpertaors matchOperator = MatchOpertaors.Equals) { if (!string.IsNullOrEmpty(field)) { return(WhereIf(_dialect.PreName(field) + _dialect.MatchOperatorGrammar(EnumExtensions.GetProperty(matchOperator, "Keyword")) + "{0}", value, @operator)); } return(this); }