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); }
public static Preprocess Create(string name, PreprocessType type, string sql, string invalidMessage) { return(new Preprocess(name, type, sql, invalidMessage)); }