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