Exemple #1
0
 internal SqlBuilder(IDbSqlParser dbSqlParser)
 {
     this.DbParams     = new Dictionary <string, object>();
     this._sqlBuilder  = new StringBuilder();
     this.SelectFields = new List <string>();
     this._dbSqlParser = dbSqlParser;
 }
 internal SqlBuilder(IDbSqlParser dbSqlParser)
 {
     this.DbParams = new Dictionary<string, object>();
     this._sqlBuilder = new StringBuilder();
     this.SelectFields = new List<string>();
     this.SelectFieldsAlias = new List<string>();
     this._dbSqlParser = dbSqlParser;
 }
Exemple #3
0
 internal SqlBuilder(IDbSqlParser dbSqlParser)
 {
     this.AllowAppendEmpty  = true;
     this.DbParams          = new Dictionary <string, object>();
     this._sqlBuilder       = new StringBuilder();
     this.SelectFields      = new List <string>();
     this.SelectFieldsAlias = new List <string>();
     this.JoinTables        = new Dictionary <string, string>();
     this._dbSqlParser      = dbSqlParser;
 }
 public ExpressionToSql(IDbSqlParser dbSqlParser)
 {
     this._sqlBuilder = new SqlBuilder(dbSqlParser);
 }
Exemple #5
0
 public static void Init(IDbSqlParser dbSqlParser)
 {
     DbSqlParser = dbSqlParser;
 }