我在POST方法中返回IQueriable<Dictionary<string,string>>
。我希望能夠在字典上應用OData過濾器。例如:來自字典的webapi過濾器屬性<string,string>
詞典
Key = Place
Value = New York
my filter is ?$filter=Place eq 'New York'
**
But I get an error: ":"Instance property 'Place' is not defined for type 'System.Collections.Generic.Dictionary`2[System.String
**
請提供您的代碼和示例數據:-) – Yoeri