Using Lambdas To Write A Faster Factory(sharplearningcurve.com)
submitted by
alexexmachina(1020) 3 years, 6 months ago
A while back, Scott Hanselman started a series of posts about leveraging lambdas as anonymous functions for a factory pattern in his BabySmash program. Recently I had to refactor a large portion of the persistence layer and realized that I needed a factory that would create SqlParameters with the correct SqlDbType given different sets of circumstances.
|category: C#
|Views: 25
tags:
C# another
Everyones tags:
Your Tags: