Follow @PDSAInc Reflection - Paul Sheriff's Blog for the Real World

Paul Sheriff's Blog for the Real World

This blog is to share my tips and tricks garnered over 25+ years in the IT industry

Paul's Favorites

Browse by Tags

All Tags » Reflection (RSS)
Creating Collections of Entity Objects using Reflection
In my last blog posts I have been showing you how to create collection of entity objects using code that is custom for each table and object you create. Well, if you use a little reflection code you can shrink this code quite a bit. Yes, we all know that...
XML Activator
All too often I see people using switch/Select Case statements when using a Factory pattern. The problem with this is if you wish to add the ability to instantiate a new class in your Factory, you need to add a new “case” statement, re-compile the code...
Posted: Aug 01 2012, 06:58 AM by psheriff | with 3 comment(s)
Filed under: , ,
More Posts