ComponentOne ASP.NET MVC Controls
BindODataSource Method (DataMapBuilder)

C1.Web.Mvc.Fluent Namespace > DataMapBuilder Class : BindODataSource Method
An action to build an C1.Web.Mvc.ODataCollectionViewService<T>.
Configurates C1.Web.Mvc.DataMap.ItemsSource. Sets ItemsSource settings.
Syntax
'Declaration
 
Public Function BindODataSource( _
   ByVal build As Action(Of ODataCollectionViewServiceBuilder(Of Object)) _
) As DataMapBuilder
public DataMapBuilder BindODataSource( 
   Action<ODataCollectionViewServiceBuilder<object>> build
)

Parameters

build
An action to build an C1.Web.Mvc.ODataCollectionViewService<T>.

Return Value

Current builder.
See Also

Reference

DataMapBuilder Class
DataMapBuilder Members