public void Set(SelectSql sql) { if (null != sql) { if (this.Text.Length != 0 && (this.TableName.Length != 0 && this.ColumnName.Length != 0)) { sql.Where(this.TableName, this.ColumnName, this.Operator, base.Text); } } }
public void Set(SelectSql sql) { if (null != sql) { if (!this.Value.IsNull() && (this.TableName.Length != 0 && this.ColumnName.Length != 0)) { sql.Where(this.TableName, this.ColumnName, this.Operator, this.Value); } } }
public void Set(SelectSql sql) { if (null != sql) { DateTime? value = base.SelectedDate; if (value.HasValue && (this.TableName.Length != 0 && this.ColumnName.Length != 0)) { sql.Where(this.TableName, this.ColumnName, this.Operator, value.Value); } } }