Permalink
Browse files

NH-1049 - open Order for inheritance

SVN: branches/1.2.x@3000
  • Loading branch information...
1 parent 9a26795 commit 575ccc4144b722b0d91c12a66f970a3f06e99524 Sergey Koshcheyev committed Sep 21, 2007
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/NHibernate/Expression/Order.cs
@@ -11,8 +11,8 @@ namespace NHibernate.Expression
[Serializable]
public class Order
{
- private bool _ascending;
- private string _propertyName;
+ protected bool _ascending;
+ protected string _propertyName;
/// <summary>
/// Constructor for Order.
@@ -29,7 +29,7 @@ public Order(string propertyName, bool ascending)
/// <summary>
/// Render the SQL fragment
/// </summary>
- public string ToSqlString(ICriteria criteria, ICriteriaQuery criteriaQuery)
+ public virtual string ToSqlString(ICriteria criteria, ICriteriaQuery criteriaQuery)
{
string[] columns = criteriaQuery.GetColumnAliasesUsingProjection(criteria, _propertyName);

0 comments on commit 575ccc4

Please sign in to comment.