Up vote 1 down vote favorite share g+ share fb share tw.
I know that you can do this easily with HQL using the following syntax: "select new ItemRow(item. Id, item. Name) from ..." In this example, the ItemRow need not be a persistent class that has its own mapping class.
But how can we accomplish the same using ICriteria? C# nhibernate hibernate nhibernate-mapping hbm link|improve this question edited Feb 18 '10 at 18:49 asked Feb 18 '10 at 17:07Newbie1,161726 97% accept rate.
Pretty sure that is equivalent to... . SetProjection(Projections.ProjectionList() . Add(Projections.
Property("item. Id"), "id") . Add(Projections.
Property("item. Name"), "name")) . SetResultTransformer(Transformers.AliasToBean()) .List().
Let me try that, I'll get back to you. – Newbie Feb 18 '10 at 21:06 Bingo! That did it!
– Newbie Feb 19 '10 at 16:54.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.