public ExpressionSqlBuilder(IDbProviderExpressionHelper provider) { _provider = provider; _ti = TableInfo.ForType(typeof(T)); provider.MustNotBeNull(); _writer = new ExpressionWriter(_sb, provider, _pm); }
public ExpressionWriter(StringBuilder sb, IDbProviderExpressionHelper provider, ParametersManager pm = null) { sb.MustNotBeNull(); _sb = sb; if (pm == null) { pm = new ParametersManager(); } _pm = pm; _provider = provider; }