Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed NH-1104 creating a new projection
SVN: trunk@3411
- Loading branch information
1 parent
d275e81
commit bcb7f1a
Showing
4 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using NHibernate.Type; | ||
|
||
namespace NHibernate.Criterion | ||
{ | ||
[Serializable] | ||
public class RowCountInt64Projection : RowCountProjection | ||
{ | ||
public override IType[] GetTypes(ICriteria criteria, ICriteriaQuery criteriaQuery) | ||
{ | ||
return new IType[] { NHibernateUtil.Int64 }; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters