public static List<T> ReadList<T>(string procedure, Func<IDataReader>, T>
make, object[] params = null)
Ive never seen anything like this using generics <T> and Func<> delegates in
this way? From my understanding of the below method name ReadList<T> which returns ageneric List<T> when invoked, ReadList needs to be implemented with aspecific closed type instead of <T> and accepts 4 input parameters, thefirst of type string, the second a datareader, the third a make, and fourtha list of objects that return null?
From my understanding of the below method name ReadList<T> which returns a
generic List<T> when invoked, ReadList needs to be implemented with a
specific closed type instead of <T> and accepts 4 input parameters, the
first of type string, the second a datareader, the third a make, and fourth
a list of objects that return null?