Beispiel #1
0
        public string FirstSqlBuild(out IQueryParameters parameters)
        {
            parameters = new QueryParameters();
            var select = ResolveSelect();
            var from   = ResolveFrom(parameters);

            var where = ResolveWhere(parameters);
            var sort = ResolveOrder();

            var sql = _sqlAdapter.GenerateFirstSql(select, from, where, sort);

            _logger?.LogDebug("First:" + sql);

            return(sql);
        }