public DbQueryProvider(DbConnection connection, MetaMapping mapping, QueryPolicy policy, TextWriter log)
 {
     this.connection = connection;
     this.mapping    = mapping;
     this.language   = mapping.Language;
     this.policy     = policy;
     this.log        = log;
 }
Esempio n. 2
0
 protected SqlFormatter(QueryLanguage language)
 {
     this.language = language;
     this.sb       = new StringBuilder();
     this.aliases  = new Dictionary <DbTableAlias, string>();
 }
 protected SqlFormatter(QueryLanguage language)
 {
     this.language = language;
     this.sb = new StringBuilder();
     this.aliases = new Dictionary<DbTableAlias, string>();
 }