dinger2121
Programmer
Hello,
I am using nhibernate along with criterias to interact with my database (mySql). I have everything working just fine. I have created my mapping files and classes to relate back to my database.
I have created a DAL which gets all of my data for me. I have been using IList to return data to my application. I would now like to create a joined query that will return fields from multiple tables. Do I have to create a new class for the result set so that I can use an IList to return the data?
Or is there a better way to return the data to my application (as opposed to using an IList)?
I hope that makes sense. Any help is appreciated.
carl
MCSD, MCTS:MOSS
I am using nhibernate along with criterias to interact with my database (mySql). I have everything working just fine. I have created my mapping files and classes to relate back to my database.
I have created a DAL which gets all of my data for me. I have been using IList to return data to my application. I would now like to create a joined query that will return fields from multiple tables. Do I have to create a new class for the result set so that I can use an IList to return the data?
Or is there a better way to return the data to my application (as opposed to using an IList)?
I hope that makes sense. Any help is appreciated.
carl
MCSD, MCTS:MOSS