Hi<div><br></div><div>What would be the syntax to call Linq methods?</div><div><br></div><div>for example: </div><div>I have an IQueryable&lt;Users&gt; and I want to get the equivalent out of</div><div><br></div><div>from user in MyRepository.Users</div>

<div>where <a href="http://user.name">user.name</a> == &quot;somename&quot;</div><div><br></div><div>That of course is only one example, I want to do a lot more :)</div><div><br></div><div>My best guess is that I would have to do something like this only it doesn&#39;t work</div>

<div><br></div><div>System::Linq::Queryable.where(MyRepository.Users, lambda { |user| <a href="http://user.name">user.name</a> == &quot;somename&quot; })</div><div><br></div><div>yields wrong number of arguments (2 for 2147483647)</div>

<div><br></div><div>So what is the correct way?</div><div>---<br>Met vriendelijke groeten - Best regards - Salutations<br>Ivan Porto Carrero<br>Blog: <a href="http://flanders.co.nz">http://flanders.co.nz</a><br>Twitter: <a href="http://twitter.com/casualjim">http://twitter.com/casualjim</a><br>

Author of IronRuby in Action (<a href="http://manning.com/carrero">http://manning.com/carrero</a>)<br><br>
</div>