Dynamic repositories with LightSpeed - taking dynamic up a level(www.mindscapehq.com)
submitted by
traskjd(3229) 1 year ago
Ready to think outside the box with the C# dynamic keyword? This post looks at taking the c# dynamic keyword and seeing how much boiler plate code we can get rid of. You'll learn how to take the Repository pattern where developers write a lot of GetFooByName, GetBarByEmailAddress type methods and how to get rid of them - gone, history, finished! Then there's Named Parameters - this post starts looking at how to use them for querying. By the end of this post you'll have a whole new way of looking at things with dyanmic and named parameters!
|category: C#
|Views: 31
tags:
C# another
Everyones tags:
Your Tags: