[QueryInterceptor("Somethings")]
public Expression<Func<Something, bool>> OnSomethings()
{
// Code here
}
我有一个观点猜测,看了msdn,但是没有与使用方式相匹配的例子。想法?
答案 0 :(得分:4)
<QueryInterceptor("Somethings")> _
Public Function OnSomethings() As Expression(Of Func(Of Something, Boolean))
' Code here
End Function