Example #1
0
 /// <summary>
 ///     Convert part to sql string equivalent
 /// </summary>
 /// <param name="params">existing param list to populate in case of part object value</param>
 /// <returns>Sql string representation</returns>
 public override string ToStatement(List <IDataParameter> @params)
 {
     return(string.Concat(LeftPart.ToStatement(@params), ConditionValue, "(", RightPart.ToStatement(@params),
                          ")"));
 }
Example #2
0
 /// <summary>
 /// Convert part to sql string equivalent
 /// </summary>
 /// <param name="params">existing param list to populate in case of part object value</param>
 /// <returns>Sql string representation</returns>
 public virtual string ToStatement(List <IDataParameter> @params)
 {
     return(string.Concat(LeftPart.ToStatement(@params), ConditionValue, RightPart.ToStatement(@params)));
 }