Sam Xu

Results 347 comments of Sam Xu

How can you pass "$filter=CustomMetadata.CustomPropA eq 'CustomValA'" to the DB and execute the filter clause? You let the DB to parse the JSON and compare the property name and property...

@[venknar](https://github.com/venknar) can you share with use your HttpPost request URI, the request body and the corresponding response body? It's better if you can share with us the metadata. You can...

@venknar by the way, if you want to return the byte[] for your photo, you can use 'Edm.Binary' type, in the C# class, you can directly use byte[] to define...

Same as https://github.com/OData/WebApi/issues/2584 a possible fix: https://github.com/OData/WebApi/pull/2585

I added a check before going to the extension method. Running the nightly build, are you interested in trying the nightly bit when it's ready?

Entity sets are top-level collection-valued resources. More details: http://docs.oasis-open.org/odata/odata-csdl-json/v4.01/odata-csdl-json-v4.01.html#sec_EntitySet I think the latest fix "[Microsoft.AspNetCore.OData.8.0.3-Nightly202110111705.nupkg](https://www.myget.org/feed/webapinetcore/package/nuget/Microsoft.AspNetCore.OData/8.0.3-Nightly202110111705)" can fix your problem without adding entity set. However, need you double confirm. For the...

We exposed the functionality to replace/customize OData query LINQ expression. Anyone can try that to build your own LINQ Expression?

The root cause is from the following changes: https://github.com/OData/AspNetCoreOData/commit/96abeffdb3c3270a49f0a47c3b90668b0900a5a2 ![image](https://user-images.githubusercontent.com/9426627/153307720-80783e00-b422-4272-bfe5-2f8b10ee458d.png) By design, we'd target 8.x to EF Core only.

@sunliangqin 1) if want to use structural type for the dynamic property, please make sure that type in the model. Otherwise, we don't know how to deserialize it. Or if...

`~/Customers ~/Customers/$count` are the correct url in OData. We should check `$` is correct symbol in Open API?