C# Class DataPresenter.DataSources.OData.ODataDataSource

Represents an async paging data source (designed to work with the XamDataPresenter family of controls) that gets data from a remote server using the OData API.
Inheritance: AsyncPagingDataSourceBase
显示文件 Open project: Infragistics/DataSource-Reference-Implementations

Public Properties

Property Type Description
BaseUriProperty System.Windows.DependencyProperty
EntitySetProperty DependencyProperty
TimeoutMillisecondsProperty DependencyProperty

Public Methods

Method Description
ODataDataSource ( ) : System

Constructor

Protected Methods

Method Description
CreateInstanceCore ( ) : Freezable

Creates a new instance of the System.Windows.Freezable derived class.

CreateUnderlyingDataSource ( ) : VirtualDataSource

Returns a VirtualDataSource derived class that will serve as the foundation for this datasource implementation. All threaded data page fetches and backend access will be managed and executed by the instance returned from this method.

OnEndDeferCollectionViewRefresh ( ) : void

Called when IsRefreshDeferred changes to false and modifications to the data exposed via ICollectionView are allowed.

Private Methods

Method Description
OnBaseUriChanged ( string oldValue, string newValue ) : void
OnEntitySetChanged ( string oldValue, string newValue ) : void
OnTimeoutMillisecondsChanged ( string oldValue, string newValue ) : void

Method Details

CreateInstanceCore() protected method

Creates a new instance of the System.Windows.Freezable derived class.
protected CreateInstanceCore ( ) : Freezable
return Freezable

CreateUnderlyingDataSource() protected method

Returns a VirtualDataSource derived class that will serve as the foundation for this datasource implementation. All threaded data page fetches and backend access will be managed and executed by the instance returned from this method.
protected CreateUnderlyingDataSource ( ) : VirtualDataSource
return VirtualDataSource

ODataDataSource() public method

Constructor
public ODataDataSource ( ) : System
return System

OnEndDeferCollectionViewRefresh() protected method

Called when IsRefreshDeferred changes to false and modifications to the data exposed via ICollectionView are allowed.
protected OnEndDeferCollectionViewRefresh ( ) : void
return void

Property Details

BaseUriProperty public_oe static_oe property

Returns the BaseUri DependencyProperty.
public static DependencyProperty,System.Windows BaseUriProperty
return System.Windows.DependencyProperty

EntitySetProperty public_oe static_oe property

Returns the EntitySet DependencyProperty.
public static DependencyProperty EntitySetProperty
return DependencyProperty

TimeoutMillisecondsProperty public_oe static_oe property

Returns the TimeoutMilliseconds DependencyProperty.
public static DependencyProperty TimeoutMillisecondsProperty
return DependencyProperty