Skip to content

Commit 1e7782f

Browse files
author
Sergey Koshcheyev
committed
NH-916
SVN: trunk@2638
1 parent b67fe68 commit 1e7782f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate.Test/ExpressionTest/Projection/ProjectionSqlFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public void SelectSqlProjectionTest()
103103
ICriteria c = session.CreateCriteria(typeof(ProjectionTestClass));
104104

105105
c.SetProjection(Projections.ProjectionList()
106-
.Add(Projections.SqlProjection("Avg({alias}.Pay) MyPay",
106+
.Add(Projections.SqlProjection("Avg({alias}.Pay) as MyPay",
107107
new string[] { "MyPay" },
108108
new IType[] { NHibernateUtil.Double })));
109109

0 commit comments

Comments
 (0)