Home  /  Questions  /  Question



0   0
Oct 14, 2015


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




508   99.9
Nov 04, 2015
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