2
* FSpot.Query.OrderByTime.cs
5
* Stephane Delcroix <stephane@delcroix.org>
7
* This is free software. See COPYING for details.
14
namespace FSpot.Query {
15
public class OrderByTime : IQueryCondition, IOrderCondition
17
public static OrderByTime OrderByTimeAsc = new OrderByTime (true);
18
public static OrderByTime OrderByTimeDesc = new OrderByTime (false);
25
public OrderByTime (bool asc)
30
public string SqlClause ()
32
return String.Format (" time {0}", asc ? "ASC" : "DESC");