Click here to Skip to main content
15,892,059 members
Articles / Web Development / HTML

Generic ListHelper Class - .NET 4.5

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
15 Jul 2015CPOL8 min read 25.4K   505   25  
This article will show how to create and/or a list of a particular class type from a SqlDataReader object by dynamically creating a lambda expression to carry out the process of populating the list.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
I am a Sr. Software Developer with over 20 years experience. I started programming in C++, moved to VB4 (while it was in Beta), and have eventually found myself programming in C#. I have experience creating and designing both Windows and Web applications, as well as Web Services and databases.

Comments and Discussions