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     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas