Microsoft.Data.Edm vs Microsoft.OData.Edm: what is the difference?

Can someone shed light on the following question: there is a Microsoft.Data.Edm namespace and a Microsoft.OData.Edm namespace. Both have the interface IEdmModel, EdmModelBase and EdmModel, etc.

Most interestingly, the ASP.NET Web API OData package uses Microsoft.Data.Edm.Library.EdmModel internally (for example, an instance of this class is returned by ODataModelBuilder). So what is the meaning of the Microsoft.OData.Edm namespace?

+5
source share
1 answer
Microsoft.Data.OData Microsoft.Data.Edm System.Spatial 

is an implementation of the OData specification version 3.0. The package name in Nuget ends with OData v1-3. For example: ODataLib for OData v1-3

While,

 Microsoft.OData.Core Microsoft.OData.Edm Microsoft.Spatial 

is an implementation of the OData specification version 4.0. The package name in Nuget does not contain a version. For example: ODataLib

I answered a similar question in the Differences between Microsoft.OData.Core and Microsoft.Data.OData . Thanks.

+9
source

Source: https://habr.com/ru/post/1212226/


All Articles