Exemple #1
0
        private void DefineSqlAdapter(SqlAdapterType sqlAdapterType, Type typeTable, SqlBuilderFormatting formatting, string tableAlias)
        {
            var sqlAdapter = GetInstanceSqlAdapter(sqlAdapterType);

            _sqlQueryBuilder = new FluentSqlQueryBuilder(sqlAdapter, typeTable, formatting, null, tableAlias);
            _resolver        = new LambdaResolver(_sqlQueryBuilder, tableAlias);
        }
Exemple #2
0
        internal FluentSqlBuilder(FluentSqlQueryBuilder sqlQueryBuilder, LambdaResolver resolver, TargetToSelect targetToSelect)
        {
            _sqlQueryBuilder = sqlQueryBuilder;
            _resolver        = resolver;

            DefineTargetToSelect(targetToSelect);
        }