I'm using NHibernate with oracle db and I want to make a query that selects many columns. For example, lets say I have a table named Soldiers with the following columns :
Id, first name and last name.
I want to select and return the first name and last name of all the soldiers, so in sql it will be like this:
SELECT FIRSTNAME, LASTNAME FROM SOLDIERS;
How do I do it in code using QueryOver?