Dofactory.com
Dofactory.com
 Back to list
Views:   4K
Replies:  1
Archived

Can Pattern Framework's Read and Make method fetch multiple result set?

Is it possible to fetch multiple result sets (Cars, Categories) within one Read method using reader.NextReader?

If yes, then in that case how would "make" method convert each result set?

Func<IDataReader, T> make

Regards

John

Gill123 Gill, Oct 14, 2015
Reply 1
Retrieving multiple result sets if not a very common scenario, so there is no built-in support for it in SPARK.
However, with some hand coding it is entirely possible. 

Hope this helps.
Jack
Jack Poorte, Nov 04, 2015
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.