Permalink
Browse files

Fix DataObjectQuery bug.

  • Loading branch information...
1 parent 16e5c27 commit 9c64215c93a0927d6f914e1f0780606fd63149ce @19WAS85 committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Thunderstruck/DataObjectQuery.cs
@@ -38,7 +38,7 @@ public IList<T> Top(int count, string where = null, object queryParams = null)
public IList<T> All(string where = null, object queryParams = null)
{
- var query = String.Format("SELECT {0} {1}", where, ProjectionMask);
+ var query = String.Format("SELECT {0} {1}", ProjectionMask, where);
return Execute(query, queryParams);
}

0 comments on commit 9c64215

Please sign in to comment.