private void Init(string name, PreprocessType type, string sql, string invalidMessage)
 {
     this.Name = name;
     this.Type = type;
     this.SQL = sql;
     this.InvalidMessage = invalidMessage;
 }
示例#2
0
 private void Init(string name, PreprocessType type, string sql, string invalidMessage)
 {
     this.Name           = name;
     this.Type           = type;
     this.SQL            = sql;
     this.InvalidMessage = invalidMessage;
 }
 public static Preprocess Create(string name, PreprocessType type, string sql, string invalidMessage)
 {
     return new Preprocess(name, type, sql, invalidMessage);
 }
 private Preprocess(string name, PreprocessType type, string sql, string invalidMessage)
 {
     this.Init(name, type, sql, invalidMessage);
 }
示例#5
0
 public static Preprocess Create(string name, PreprocessType type, string sql, string invalidMessage)
 {
     return(new Preprocess(name, type, sql, invalidMessage));
 }
示例#6
0
 private Preprocess(string name, PreprocessType type, string sql, string invalidMessage)
 {
     this.Init(name, type, sql, invalidMessage);
 }