public string GetOrderPart()
{
return OrderBy.Count == 0
? string.Empty
: @"ORDER BY
{0}
".With(string.Join(@",
", OrderBy.Last().Orderings.Select(o => GetSqlExpression(o.Expression) + (o.OrderingDirection == OrderingDirection.Desc ? " DESC " : " ASC "))));
}