Exemplo n.º 1
0
        protected string GetOrderByClause(string orderByIn)
        {
            if (!string.IsNullOrWhiteSpace(orderByIn) && orderByIn.Split(new[] { '.' }).Length > 1)
            {
                return(orderByIn);
            }

            return(DataServiceHelper.BuildOrderByClause <T, TU>(orderByIn, GetDefaultSorting(), Mapper));
        }