Query : $filter=DatetimeLocal gt 2021-03-19T12:50:54.219Z&$select=OrganizationId
Error : System.ArgumentException: Value type of serializer is Microsoft.AspNet.OData.Query.Expressions.PropertyContainer+NamedProperty`1[[System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] and does not match member type Microsoft.AspNet.OData.Query.Expressions.PropertyContainer. (Parameter 'serializer')
I've used this tutorial in order to implement OData: https://docs.microsoft.com/en-us/odata/webapi/first-odata-api
What could be the issue?
The Query should be in this format ?$filter=CreatedDate gt 2021-03-22T10:39:35Z
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.