views:

4

answers:

0

Hi I am using an Oracle Stored procedure that returns ref cursor. Then fill a datatable with that cursor and then iterate datatable and create my model objects. That seems a bit lame and time consuming. What would be a better aproach without using ORM tools of Entity Framework.

The other problem with using datatable is that I cant reuse my ViewModel classes in silverlight projects (Prism Multitargeting).

Any suggestions?