From: Michael D. <mik...@us...> - 2004-08-01 21:59:19
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Sql In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5934/NHibernate/Sql Modified Files: QuerySelect.cs Log Message: Changed some write-only properties to methods. Index: QuerySelect.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Sql/QuerySelect.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** QuerySelect.cs 30 Apr 2004 13:10:18 -0000 1.5 --- QuerySelect.cs 1 Aug 2004 21:59:11 -0000 1.6 *************** *** 83,108 **** } ! public ICollection WhereTokens { //if ( conjunctiveWhere.length()>0 ) conjunctiveWhere.append(" and "); ! set { AppendTokens(where, value); } } ! public ICollection GroupByTokens { //if ( groupBy.length()>0 ) groupBy.append(" and "); ! set { AppendTokens(groupBy, value); } } ! public ICollection OrderByTokens { //if ( orderBy.length()>0 ) orderBy.append(" and "); ! set { AppendTokens(orderBy, value); } } ! public ICollection HavingTokens { //if ( having.length()>0 ) having.append(" and "); ! set { AppendTokens(having, value); } } --- 83,108 ---- } ! public void SetWhereTokens(ICollection tokens) { //if ( conjunctiveWhere.length()>0 ) conjunctiveWhere.append(" and "); ! AppendTokens(where, tokens); } ! public void SetGroupByTokens(ICollection tokens) { //if ( groupBy.length()>0 ) groupBy.append(" and "); ! AppendTokens(groupBy, tokens); } ! public void SetOrderByTokens(ICollection tokens) { //if ( orderBy.length()>0 ) orderBy.append(" and "); ! AppendTokens(orderBy, tokens); } ! public void SetHavingTokens(ICollection tokens) { //if ( having.length()>0 ) having.append(" and "); ! AppendTokens(having, tokens); } |