We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b67fe68 commit 1e7782fCopy full SHA for 1e7782f
src/NHibernate.Test/ExpressionTest/Projection/ProjectionSqlFixture.cs
@@ -103,7 +103,7 @@ public void SelectSqlProjectionTest()
103
ICriteria c = session.CreateCriteria(typeof(ProjectionTestClass));
104
105
c.SetProjection(Projections.ProjectionList()
106
- .Add(Projections.SqlProjection("Avg({alias}.Pay) MyPay",
+ .Add(Projections.SqlProjection("Avg({alias}.Pay) as MyPay",
107
new string[] { "MyPay" },
108
new IType[] { NHibernateUtil.Double })));
109
0 commit comments