Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit b268863

Browse files
committed
Add more readable ClearLimits() Alias
1 parent 9e7d637 commit b268863

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ServiceStack.OrmLite/Expressions/SqlExpression.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,14 @@ public virtual SqlExpression<T> Limit()
402402
return this;
403403
}
404404

405+
/// <summary>
406+
/// Clear Offset and Limit clauses. Alias for Limit()
407+
/// </summary>
408+
/// <returns></returns>
409+
public virtual SqlExpression<T> ClearLimits()
410+
{
411+
return Limit();
412+
}
405413

406414
/// <summary>
407415
/// Fields to be updated.

0 commit comments

Comments
 (0)