Пример #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);
         }
     }
 }