Currently when using Razor I use things like .Where(""), but I don't really like that. You use a string instead of a lambda expression and because it's not strongly typed all values need to be casted to the correct type. Otherwise something like .Where("number > 3") wouldn't work. That can give performance problems: http://our.umbraco.org/forum/developers/razor/28479-Razor-menu-performance-(v4). I would much rather write queries like this in Razor: http://issues.umbraco.org/issue/U5-259#comment=67-657.
Jeroen
To view this discussion on the web visit https://groups.google.com/d/msg/umbraco-dev/-/eiBc-JIvjgMJ.
--
You received this message because you are subscribed to the Google Groups "Umbraco development" group.
To post to this group, send email to umbra...@googlegroups.com.
To unsubscribe from this group, send email to umbraco-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/umbraco-dev?hl=en.