예제 #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
 public virtual DbQueryProvider Create(DbConnection connection, MetaMapping mapping, QueryPolicy policy, TextWriter log)
 {
     return(new DbQueryProvider(connection, mapping, policy, log));
 }
예제 #3
0
 public DbQueryProvider Create(MetaMapping mapping, QueryPolicy policy, TextWriter log)
 {
     return(Create(this.connection, mapping, policy, log));
 }