Skip to content

Simple.OData.Client fluent API

object edited this page Feb 12, 2013 · 9 revisions

Simple.OData.Client has two APIs that can be used to retrieve and modify OData resources: basic and fluent. Each of APIs provides full set of OData protocol operations, so choice of the API depends on client application design and personal developer's preferences. Fluent API consists of methods that can be chained to form parts of OData HTTP request. These methods are defined on an interface ICommand that is accessed from an ODataClient instance by calling For(<collectionName>). Each fluent method has return value of IClientWithCommand which is derived from ICommand and therefore can be used for further method chaining.