protected object GetPagingValue(object value, Dialect.Dialect dialect, QueryParameters queryParameters)
        {
            if (isTakeParameter)
            {
                int skipParameterValue = 0;

                if (skipParameter != null)
                {
                    skipParameterValue = skipParameter.GetSkipValue(queryParameters);
                }

                return(dialect.GetLimitValue(skipParameterValue, (int)value));
            }

            if (isSkipParameter)
            {
                return(dialect.GetOffsetValue((int)value));
            }

            return(value);
        }