Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder > Class Template Reference

More...

Inheritance diagram for Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder >:
Ext.Net.AjaxProxy.Builder< TODataProxy, TBuilder >

Public Member Functions

 Builder (TODataProxy component)
 
virtual TBuilder EnablePagingParams (bool enablePagingParams)
 Send paging params ($top, $skip) More...
 
virtual TBuilder AppendId (bool appendId)
 True to automatically append the ID of a Model instance when performing a request based on that single instance. See RestProxy intro docs for more details. Defaults to true. More...
 
virtual TBuilder Format (string format)
 Optional data format to send to the server when making any request (e.g. 'json'). See the RestProxy intro docs for full details. Defaults to undefined. More...
 
 Builder ()
 
 Builder (ODataProxy component)
 
 Builder (ODataProxy.Config config)
 
- Public Member Functions inherited from Ext.Net.AjaxProxy.Builder< TODataProxy, TBuilder >
 Builder (TAjaxProxy component)
 
 Builder ()
 
 Builder (AjaxProxy component)
 
 Builder (AjaxProxy.Config config)
 
virtual TBuilder Headers (Action< ParameterCollection > action)
 Any headers to add to the Ajax request. Defaults to undefined. More...
 
virtual TBuilder Json (bool json)
 Send params as JSON object More...
 
virtual TBuilder Xml (bool xml)
 Send params as XML object More...
 
virtual TBuilder ActionMethods (Action< CRUDMethods > action)
 Mapping of action name to HTTP request method. In the basic AjaxProxy these are set to 'GET' for 'read' actions and 'POST' for 'create', 'update' and 'destroy' actions. The Ext.data.proxy.Rest maps these to the correct RESTful methods. More...
 
virtual TBuilder GetMethod (Action< JFunction > action)
 Returns the HTTP method name for a given request. By default this returns based on a lookup on actionMethods. More...
 
virtual TBuilder Password (string password)
 Most oData feeds require basic HTTP authentication. This configuration allows you to specify the password. More...
 
virtual TBuilder UseDefaultXhrHeader (bool useDefaultXhrHeader)
 Set this to false to not send the default Xhr header (X-Requested-With) with every request. This should be set to false when making CORS (cross-domain) requests. Defaults to true. More...
 
virtual TBuilder Username (string username)
 Most oData feeds require basic HTTP authentication. This configuration allows you to specify the username.. More...
 
virtual TBuilder WithCredentials (bool withCredentials)
 This configuration is sometimes necessary when using cross-origin resource sharing. Defaults to false. More...
 

Static Public Member Functions

static implicit operator Builder (ODataProxy component)
 
- Static Public Member Functions inherited from Ext.Net.AjaxProxy.Builder< TODataProxy, TBuilder >
static implicit operator Builder (AjaxProxy component)
 

Detailed Description

Type Constraints
TODataProxy :ODataProxy 
TBuilder :Builder 
TBuilder :TODataProxy 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder() [1/4]

Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder >.Builder ( TODataProxy  component)
inline

◆ Builder() [2/4]

Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder >.Builder ( )
inline

◆ Builder() [3/4]

Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder >.Builder ( ODataProxy  component)
inline

◆ Builder() [4/4]

Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder >.Builder ( ODataProxy.Config  config)
inline

Member Function Documentation

◆ AppendId()

virtual TBuilder Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder >.AppendId ( bool  appendId)
inlinevirtual

True to automatically append the ID of a Model instance when performing a request based on that single instance. See RestProxy intro docs for more details. Defaults to true.

◆ EnablePagingParams()

virtual TBuilder Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder >.EnablePagingParams ( bool  enablePagingParams)
inlinevirtual

Send paging params ($top, $skip)

◆ Format()

virtual TBuilder Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder >.Format ( string  format)
inlinevirtual

Optional data format to send to the server when making any request (e.g. 'json'). See the RestProxy intro docs for full details. Defaults to undefined.

◆ operator Builder()

static implicit Ext.Net.ODataProxy.Builder< TODataProxy, TBuilder >.operator Builder ( ODataProxy  component)
inlinestatic


The documentation for this class was generated from the following file: