1

WCF データ サービスで LINQKIT を使用する例を含むリソースをオンラインで見つけることができませんでした。出来ますか ?私はそれをやろうとしましたが、VisitメソッドのExpressionVisitorクラスでエラーで失敗します-未処理の式タイプ10000.

throw new Exception (string.Format ("Unhandled expression type: '{0}'", exp.NodeType));

これに代わるものはありますか。

表現例は以下の通りです。ビルドは成功しますが、実行時に上記のエラーが発生します。

            DataServiceQuery<ClassName> query = (DataServiceQuery<ClassName>)
            (from c in data.<ClassName>.AsExpandable()
            where c.<ChildClass>.Any(SamplePredicate.Compile())
            select c);
4

1 に答える 1