Tag Archives: ODATA V4

Web API OData V4 Keys, Composite Keys and Functions Part 11

This article demonstrates how OData Functions can be used together with entities which have simple keys, composite keys, entity collections or used as plain simple global functions. Part 1 Getting started with Web API and OData V4 Part 1. Part 2 Web API and OData V4 Queries, Functions and Attribute Routing Part 2 Part 3 […]

Web API OData V4 Batching Part 10

This article demonstrates how batching can be used with a Web API OData V4 service and an OData C# client. This blog is part 10 of the Web API OData series. Batching can be used to optimize network usage. Batching makes it possible to send many HTTP requests as a single multiple mixed request. The […]

Web API OData V4 using enum with functions and Entities Part 4

This post is part 4 of the Web API and OData V4 series. This article shows how Web API 2.2 with OData V4 supports enum in entities or as return values and also supports enum parameters for functions. Part 1 Getting started with Web API and OData V4 Part 1. Part 2 Web API and […]

Web API and OData V4 CRUD and Actions Part 3

This article demonstrates how simple CRUD operations can be mapped to an OData service, how to map DateTimeOffset to DateTime types in the entity framework and also how to create OData actions for Entities and Entity Collections. This post is part 3 of the Web API and OData V4 series. Part 1 Getting started with […]

Getting started with Web API and OData V4 Part 1

This article demonstrates how to create an OData V4 Web API service which uses Entity Framework 6 and SQL 2014 for persistence. OData V4 was released with Web API 2.2. The OData V4 standard is documented here: http://www.odata.org/documentation/. The Web API implementation does supports a lot of features from the standard, but not all. Part […]