Comments (4)
On 2012-09-22 04:05:03 UTC, raghuramn commented:
This is by design. We support only public properties.
from webapi.
On 2012-09-25 06:43:16 UTC, HongmeiG commented:
We should support public fields in our conventional model builder by default, and customer can use IgnoreDataMember to opt out.
from webapi.
On 2013-04-02 06:35:02 UTC, HongmeiG commented:
OData formatter does not serialize public fields today.
if we decided to support public fields, then we should change the formatter as well as model builder to understand fields.
from webapi.
We support only public properties. Close it.
from webapi.
Related Issues (20)
- ArgumentNullException on all POST requests to OData controllers with [EnableQuery] attribute. Microsoft.AspNet.OData 7.7.0 HOT 2
- Open type dictionary input is not getting parsed in ODataActionParameters HOT 8
- Patch() of Open Type Dynamic Properties in Delta<T>
- Swagger generator is missing $filter from EntitySet "get" definitions HOT 3
- NullReferenceException in ExpandQueryBuilder when using camelCase property names HOT 2
- Cannot serialize EdmDeltaComplexObject in odata 7x and above
- OData $filter=contains and NullReferenceExceptions in LINQ to SQL HOT 2
- GeneateActionLink should apply lowercase for bindingParameterType HOT 1
- ODataConventionModelBuilder GetEdmModel() System.Data.Linq FileNotFoundException HOT 2
- NU1608: Detected package version outside of dependency constraint: Microsoft.AspNet.WebApi.OData 5.7.0 requires Microsoft.AspNet.WebApi.Core (>= 5.2.2 && < 5.3.0) but version Microsoft.AspNet.WebApi.Core 5.3.0 was resolved. HOT 2
- The property '{propertyname}' cannot be used in the $expand query option HOT 6
- OData-prefix missing in delta responses
- Make the query validator thread-safe since the validator is singleton
- 'Microsoft.AspNet.WebApi.Core 5.3.0' is not compatible with 'Microsoft.AspNet.OData 7.7.2 constraint: Microsoft.AspNet.WebApi.Core (>= 5.2.2 && < 5.3.0)' HOT 2
- Odata MongoDb lt filtering HOT 2
- JsonIgnore with condition incorrectly ignoring property when using OData $select query with [EnableQuery] endpoint HOT 2
- [Microsoft.AspNet.OData v7.7.3] Request.ODataProperties().NextLink is always null
- InvalidOperationException thrown from CreateRequestContainer cause performance issue HOT 9
- IHttpContextAccessor.HttpContext.User is not always authenticated (when it should) when invoked by IModelCacheKeyFactory HOT 5
- Group by a property of a derived type is not supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webapi.