Ejemplo n.º 1
0
 internal SqlBuilder(IDbSqlParser dbSqlParser)
 {
     this.DbParams     = new Dictionary <string, object>();
     this._sqlBuilder  = new StringBuilder();
     this.SelectFields = new List <string>();
     this._dbSqlParser = dbSqlParser;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 4
0
 public ExpressionToSql(IDbSqlParser dbSqlParser)
 {
     this._sqlBuilder = new SqlBuilder(dbSqlParser);
 }
Ejemplo n.º 5
0
 public static void Init(IDbSqlParser dbSqlParser)
 {
     DbSqlParser = dbSqlParser;
 }