错误响应的WebAPI包括堆栈跟踪和内部异常。由于安全原因,我们希望从错误响应中删除堆栈跟踪。{ "code":"","message":"Resource not found for the segment '***_experiencesesconfiguration)\r\n at Microsoft.OD
我有OData筛选器查询,并且我想获取筛选器属性。下面是我的问题: Product?$filter=Name eq 'Apple' 我像这样获取它的Name属性: var propertyName=((filterQuery?.FilterClause?.Expression as BinaryOperatorNode)?.Left as SingleValuePropertyAccessNode)?.Property?.Name; 现在我正在创建另一个查询,它有两个属性: Product?$filter=Name eq 'Apple' and Price