Hello !
I have a little problem when i try to retrieve data after a request, using NHibernate.
I create the request with ICreteria and i add some projections only on specific case.
I execute the request :
Quote:
Dim oResult As IList(Of Array) = oCriteria.List(Of Array)()
Then I can only retrive data with oResult(0).GetValue(0), and as the projections are never the same, the value of the index (for GetValue) is always changing.
How can I associate an alias to a column and use it to retrieve its value ?
How can I do something like that : oResult(« column ») ?
Thanks for your help.