コード例 #1
0
ファイル: SqlHelper.cs プロジェクト: abeob1/sg-ae-T-N
 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;
 }
コード例 #2
0
ファイル: Functions.cs プロジェクト: abeob1/sg-ab-support
 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;
 }