views:

53

answers:

1
[QueryInterceptor("Somethings")]
public Expression<Func<Something, bool>> OnSomethings()
{
    // Code here
}

I had a view guesses, looked on msdn, but there are no examples matching the way that that is used. Ideas?

+4  A: 
<QueryInterceptor("Somethings")> _
Public Function OnSomethings() As Expression(Of Func(Of Something, Boolean))
    ' Code here
End Function
Darin Dimitrov
wahhhhhhhhhhhhhhhhhhh I can't believe I didn't put Function at the start! I tried everything else... Thanks!
SLC