Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Lambda   (RSS)
Tip 36 – How to Construct by Query
While writing my tips series and writing EF controllers for MVC I found that I regularly wanted to create and attach a stub entity . Unfortunately it isn’t quite that simple, you have to make sure the entity isn’t already attached first, otherwise you’ll Read More...
A silly C# trick from the trenches
UPDATE: as Joe rightly points out in the comments (thanks Joe) when you try to pass a Func<T,V> to a method expecting Action<T> using lambda syntax it doesn't fail. Somehow the compiler must realize there is no match for Func<T,V> and Read More...
Page view tracker