tpetricek / tomasp.net

Source code for my web site and blog - yet another remake!
26 stars 19 forks source link

Calling functions in LINQ queries has many errors #37

Closed NetMage closed 1 year ago

NetMage commented 1 year ago

The article Calling functions in LINQ queries has many typos and other errors in the beginning with the sample code.

For example, the text states "calls function MyTest" but the sample function is named "MyFunc" and the where clause actually calls an entirely different undefined function MyPriceFunc.

tpetricek commented 1 year ago

Thanks for reading and taking the time to report. However, given that the article is now some 17 years old, I'm probably not going to fix those (and leave it as it is). It may be worth tweaking the system to automatically add a warning when you open a very old article.

NetMage commented 1 year ago

:( I found the blog post from the LINQKit page by Albahari so I expect it still gets some traffic...