示例#1
0
 public DatabaseParameter(string Field, string Value)
 {
     this.Field          = string.Empty;
     this.Value          = string.Empty;
     this.StringPattern  = string.Empty;
     this.DataCompareStr = new string[] { " = ", " <> ", " > ", " < ", " >= ", " <= ", " IS ", " IS NOT ", " LIKE " };
     this.DataLinkageStr = new string[] { " AND ", " OR " };
     this.DataFormulaStr = new string[] { " GETDATE() ", " GETID() ", " NULL " };
     this.IsUnicode      = false;
     this.IsNullable     = false;
     this.DataType       = DBDataType.String;
     this.DataCompare    = DBCompareType.Equal;
     this.DataLinkage    = DBLinkage.AND;
     this.SortBy         = false;
     this.ASC            = true;
     this.Field          = Field;
     this.Value          = Value;
 }
示例#2
0
 public DatabaseParameter(string Field, DBDataFormula DataFormula)
 {
     this.Field = string.Empty;
     this.Value = string.Empty;
     this.StringPattern = string.Empty;
     this.DataCompareStr = new string[] { " = ", " <> ", " > ", " < ", " >= ", " <= ", " IS ", " IS NOT ", " LIKE " };
     this.DataLinkageStr = new string[] { " AND ", " OR " };
     this.DataFormulaStr = new string[] { " GETDATE() ", " GETID() ", " NULL " };
     this.IsUnicode = false;
     this.IsNullable = false;
     this.DataType = DBDataType.String;
     this.DataCompare = DBCompareType.Equal;
     this.DataLinkage = DBLinkage.AND;
     this.SortBy = false;
     this.ASC = true;
     this.Field = Field;
     this.DataFormula = DataFormula;
     this.DataType = DBDataType.Formula;
 }
示例#3
0
 public DatabaseParametersGroup(DBLinkage DataLinkage)
 {
     this.DataLinkage = DBLinkage.AND;
     this.DataLinkage = DataLinkage;
 }
示例#4
0
 public DatabaseParametersGroup()
 {
     this.DataLinkage = DBLinkage.AND;
 }
示例#5
0
 public DatabaseParametersGroup(DBLinkage DataLinkage)
 {
     this.DataLinkage = DBLinkage.AND;
     this.DataLinkage = DataLinkage;
 }
示例#6
0
 public DatabaseParametersGroup()
 {
     this.DataLinkage = DBLinkage.AND;
 }