Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello every body, I need your help to let me know how to fix this two problems

1- What should I do If I have a stored procedure which return different table structure with different columns name and column count How can I map these results in one entity ? Can I use the DataSet or the DataTable objects to solve this case ?
2- What should I do if I have no real id of the result suppose a stored procedure which selects data from different tables without their primary keys, How can I tell the NHibernate to make an incremental id to the returned entity ?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900