示例#1
0
 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);
         }
     }
 }
示例#2
0
 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);
         }
     }
 }
示例#3
0
 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);
         }
     }
 }