Questions tagged [odatalib]

ODataLib provides building blocks for the parts of the OData protocol that are hard to get right.

ODataLib provides building blocks for the parts of the OData protocol that are hard to get right.
You can combine some or all of these building blocks with your own code to let your application speak OData.

Its main features are:

  • Use components independently or in conjunction with each other.
  • Contains both server and client components.
  • Use only what you need.
  • Your application remains in charge. ODataLib only does stuff when you ask it to.

Home: https://github.com/OData/odata.net

20 questions
0
votes
0 answers

OData.net add complex ODataProperty to entry

I'am using the ODataLib from http://odata.github.io to generate an OData payload (using this tutorial http://odata.github.io/odata.net/#01-01-write-payload) It work fine ... almost. In fact I need
Fred Mériot
  • 4,157
  • 9
  • 33
  • 50
0
votes
1 answer

nullable enum parameter always null odata 4 web api 2.2

Following the claim here http://blogs.msdn.com/b/odatateam/archive/2014/07/03/odatalib-6-5-0-release.aspx Fix bugs for enum 1) ODataUriParser should support nullable Enum as a function parameter. I upgraded from odata 3 and webapi 2 (a massive…
MemeDeveloper
  • 6,457
  • 2
  • 42
  • 58
0
votes
1 answer

How to create ODataNavigationLink when using ODataLib entry writer?

I am trying to find an example of how to properly instantiate ODataNavigationLink in case it's non-empty. The only code example I've found creates a non-expanded link but doesn't bind it to any data: //create a non-expanded link for the orders…
Vagif Abilov
  • 9,835
  • 8
  • 55
  • 100
0
votes
1 answer

IsDefaultEntityContainer in OData metadata

When I generate my EdmModel using Microsoft.Data.OData.dll, v5.6.1.0 as follows: var eModel = new Microsoft.Data.Edm.Library.EdmModel(); var container = new EdmEntityContainer("namespace...", "container1"); var eRowType =…
Nestor
  • 13,706
  • 11
  • 78
  • 119
0
votes
1 answer

Microsoft.Data.OData.ODataMessageWriter using request or response?

The class ODataMessageWriter in Microsoft.Data.OData.dll, v5.6.1.0 accepts constructors that take IODataRequestMessage requestMessage as well as IODataResponseMessage responseMessage. The question is when to use one or the other. I'm implementing a…
Nestor
  • 13,706
  • 11
  • 78
  • 119
1
2