예제 #1
0
 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;
 }
예제 #2
0
 protected SqlFormatter(QueryLanguage language)
 {
     this.language = language;
     this.sb       = new StringBuilder();
     this.aliases  = new Dictionary <DbTableAlias, string>();
 }
예제 #3
0
 protected SqlFormatter(QueryLanguage language)
 {
     this.language = language;
     this.sb = new StringBuilder();
     this.aliases = new Dictionary<DbTableAlias, string>();
 }