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!
|
4
Shouts |
|
|||
No comments yet, be the first one to post comment.