Exemplo n.º 1
0
 public void AssertSkip <T>(SQLinq <T> sqLinq)
 {
     if (sqLinq.OrderByExpressions.Count == 0)
     {
         throw new NotSupportedException("SQLinq: Skip can only be performed if OrderBy is specified.");
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="query">The DynamicSQLinq instance to use as the root for the Count query. This is passed by reference.</param>
 public SQLinqCount(SQLinq <T> query)
 {
     this.Query = query;
 }
Exemplo n.º 3
0
 public void AssertSkip <T>(SQLinq <T> sqLinq)
 {
 }